Skip to content
1 min read · 39 words

Variable: datePeriodTool

ts
const datePeriodTool: Tool<SpooledArtifact>;

Get the start or end of a time period containing a given date.

Remarks

Periods: day, week, isoweek (Monday-start), month, quarter, year. Quarter and year honour fiscal_year_start_month for fiscal calendars (default: 1 = calendar year).