lastQuarter

Resolves the previous full quarter to ISO dates and UTC instants.

1|Updated Aug 23, 2026
One-click install
npx skills add https://github.com/foxmaster77/12BOT --skill lastquarter-foxmaster77
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lastQuarter
Source: https://github.com/foxmaster77/12BOT/tree/main/munder-difflin-main/munder-difflin-main/resources/skills/lastQuarter
Command: npx skills add https://github.com/foxmaster77/12BOT --skill lastquarter-foxmaster77

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually computing the previous quarter's date range is error-prone, especially across year boundaries and timezones. This Skill resolves "lastQuarter" to exact civil dates and UTC instants relative to your run time, so quarterly reports and QoQ comparisons use correct time bounds. ## Core Features & Use Cases - Deterministic Date Resolution: Runs a bundled Node.js resolver that returns the previous full quarter as inclusive civil dates (YYYY-MM-DD) in your local timezone. - UTC Instant Output: Provides a half-open [start, end) range of exact UTC instants for timestamp-based database queries. - Use Case: Before running a quarterly revenue review, invoke this Skill to get the exact start and end dates of last quarter, then use those bounds to filter sales records without hand-calculating dates. ## Quick Start Ask the AI to resolve last quarter's date range using the lastQuarter skill before running your quarterly analysis task.

Frequently Asked Questions about lastQuarter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get the date range for last quarter programmatically?▼

Run the bundled resolver with node when.mjs lastQuarter. It prints the previous full quarter's start and end as inclusive civil dates in your local timezone, plus exact UTC instants for timestamp-based queries.

What date format does the last quarter resolver return?▼

It returns start and end as inclusive YYYY-MM-DD civil dates, plus startUtc and endExclusiveUtc as a half-open [start, end) range of UTC instants. It also includes days, timezone, and asOf fields.

Does the lastQuarter skill handle year boundaries correctly?▼

Yes, the resolver computes the previous full quarter relative to run time, so running it in January correctly returns Q4 of the prior year. It is the designated source of truth, so you should not derive dates by hand.

Can I resolve other time ranges besides last quarter?▼

This Skill only resolves lastQuarter. For other windows like last45days or last6months, or the full window list, use the related /temporal skill referenced in the documentation.

Does the lastQuarter resolver make network calls or write files?▼

No, the resolver is read-only with no writes and no network access. It only computes and prints the date range based on your system time and timezone.