---
name: Last Quarter
slug: last-quarter
category: Automation
description: "Last Quarter resolves \"lastQuarter\" to a concrete ISO date range for the previous full quarter relative to run time. Use it before quarterly reviews, QoQ comparisons, or any task over last quarter to get inclusive civil dates and exact UTC instants without computing dates by hand."
github: "https://github.com/chaitanyagiri/munder-difflin/tree/main/resources/skills/lastQuarter"
language: TypeScript
stars: 2178
forks: 253
install: "npx degit https://github.com/chaitanyagiri/munder-difflin/tree/main/resources/skills/lastQuarter ~/.claude/skills/lastQuarter"
installs_to: ~/.claude/skills/lastQuarter
source_path: resources/skills/lastQuarter/SKILL.md
collection_size: 17
category_size: 1523
collection_url: "https://dirskills.com/collections/chaitanyagiri/munder-difflin"
added: 2026-08-19T07:25:43.681Z
last_synced: 2026-08-19T07:25:43.681Z
canonical_url: "https://dirskills.com/skills/last-quarter"
---

# Last Quarter

Last Quarter resolves "lastQuarter" to a concrete ISO date range for the previous full quarter relative to run time. Use it before quarterly reviews, QoQ comparisons, or any task over last quarter to get inclusive civil dates and exact UTC instants without computing dates by hand.

**Install:**

```bash
npx degit https://github.com/chaitanyagiri/munder-difflin/tree/main/resources/skills/lastQuarter ~/.claude/skills/lastQuarter
```

## README

## /lastQuarter

Get the concrete date range for **the previous full quarter** by running the bundled resolver:

```bash
node "$AGENT_DIR/.claude/skills/temporal/when.mjs" lastQuarter
```

It prints a human-readable line plus a JSON record:

- `start` / `end` — inclusive civil dates (`YYYY-MM-DD`) in your local timezone
- `startUtc` / `endExclusiveUtc` — the same window as a half-open `[start, end)`
  range of exact UTC instants, for timestamp-based queries
- `days`, `timezone`, `asOf` — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. **Do not derive
dates by hand** — this resolver is the source of truth. For the full window list
or an arbitrary range (e.g. `last45days`, `last6months`), see the `/temporal` skill.
