Skip to content
1 min read · 46 words

Variable: dateCalendarInfoTool

ts
const dateCalendarInfoTool: Tool<SpooledArtifact>;

Defined in: batteries/tools/datetime_extended/index.ts:156

Get calendar metadata for a date.

Remarks

Reports ISO week number, day of year, calendar quarter, fiscal quarter/year (configurable via fiscal_year_start_month), week of month, and whether the date is a weekend. Accepts ISO dates, natural-language ("next Tuesday"), and now.