Relative dates
Periods such as previous month, and which dates they turn into.
On a date field choose in period.
The periods
| Period | Covers |
|---|---|
| Today, yesterday | One day |
| This week, month, quarter, year | The whole calendar period, including days to come |
| Previous week, month, quarter, year | The whole one before |
| Last N days | N days ending today, including today |
| Last N weeks, months, quarters, years | N complete periods before the current one |
| Week, month, quarter, year to date | From its start through today |
| Date range | Two fixed dates, both included |
Weeks start on Monday. Quarters and years are calendar ones. N goes up to 1,000.
Which day is today
The report’s time zone decides. Set it in Properties with nothing selected. New reports start with the author’s browser zone, and older reports without one use UTC. Every reader gets the same dates.
A schedule has its own zone, and its runs use that one.
The zone only decides today’s date. Timestamps are still compared by their UTC day.
In prompts
A prompt can use in period with a default. Readers can pick another period or a fixed range. A relative answer stays relative in the address, so a saved bookmark for previous week keeps up.
Always the same dates across the page
Blocks loaded or refreshed at different moments never show different dates for one period. If midnight passes, they are recalculated together. Reading shows the resolved dates and zone.
Runs record the dates they used. Opening an old run never resolves them again.
