Facts and arithmetic for a date
date_infoRetrieve weekday, ISO week, day of year, and leap year for a date, plus calculate dates after adding intervals and days until another date.
Instructions
Weekday, ISO week, day of year and leap year of a date ('today' = UTC); optionally the date after adding '+1 month' (month ends clamp) and the days until another date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | '+1 month', '-3 weeks', 'P1Y2M' | |
| date | Yes | YYYY-MM-DD or 'today' | |
| until | No | YYYY-MM-DD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| weekday | Yes |