Why the conventions matter more than the maths

Very few date and time questions are hard to compute. Almost all of them are hard to specify. How many days are there between Monday and Friday? Four, or five, depending on whether you are measuring elapsed time or counting a working week. When is a leap-year baby's birthday in a non-leap year? Depends on the jurisdiction. What time is 01:30 on the morning the clocks go back? There are two answers, an hour apart.

Most calculators pick one interpretation silently and present the result as fact. The approach here is to make the choice visible: every calculator states which convention it applied, lets you change it where a reasonable alternative exists, and flags the cases where the answer is genuinely ambiguous rather than papering over them.

Where the data comes from

  • Public holidays — computed from each country's published rules rather than stored as a fixed table, so the calendar stays correct for future years. National holidays only.
  • Time zones — the IANA time zone database built into your browser, the same source used by operating systems and most programming languages.
  • Calendar arithmetic — the proleptic Gregorian calendar and ISO 8601 week rules throughout.

More guides to come

Standalone articles on notice periods, payroll date rules, holiday entitlement and public holiday reference tables by country are planned. If there is something you keep having to look up, let us know.