lastYear

Resolves the previous calendar year into ISO dates and UTC instants.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually computing the exact date range for "last year" is error-prone, especially when converting between local civil dates and UTC timestamps for queries. This Skill resolves the previous full calendar year into concrete, ready-to-use date bounds. ## Core Features & Use Cases - Date Range Resolution: Runs a bundled Node.js resolver that returns inclusive civil dates (start/end) for the previous calendar year in your local timezone. - UTC Instant Conversion: Provides a half-open [start, end) range of exact UTC instants for timestamp-based database or API queries. - Use Case: When building an annual report or running a year-over-year comparison, use this Skill to get the exact date bounds for last year instead of computing them by hand. ## Quick Start Ask the AI to resolve last year's date range using the lastYear skill before running an annual report query.

Frequently Asked Questions about lastYear

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

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

Run the bundled Node.js resolver with the argument lastYear to get the previous full calendar year. It returns inclusive start and end civil dates in your local timezone plus exact UTC instants for timestamp-based queries.

How to convert local dates to UTC for timestamp queries?▼

The resolver outputs startUtc and endExclusiveUtc fields representing the same window as a half-open [start, end) range of UTC instants. Use these directly in database or API queries that filter by timestamp.

Does the lastYear resolver require network access or write permissions?▼

No, the resolver is read-only with no writes and no network access. It only computes dates relative to your run time and prints the result to standard output.

What date formats does the resolver return?▼

It returns start and end as inclusive civil dates in YYYY-MM-DD format in your local timezone, plus startUtc and endExclusiveUtc as exact UTC instants. It also includes days, timezone, and asOf metadata fields.

Can I resolve other ranges like last 45 days or last 6 months?▼

This Skill only resolves the previous full calendar year. For arbitrary windows such as last45days or last6months, use the related temporal skill referenced in the documentation.