Countdown to Date

Days, hours, minutes, seconds remaining until a target date.

Inputs

Result

Countdown

How to use this calculator

  • Set target date.
  • Set "as of" to today.
  • Read remaining time.

About this calculator

Days/hours/minutes/seconds until a future date. Pure date arithmetic (compute() must be pure for SSR), so the "now" is taken from the as-of input rather than a real clock — change as-of to today's date to get a current countdown.

Frequently asked

compute() must be pure (SSR-safe). Live "now" would change on every render. The user provides today's date as input; the page is then rebuildable and cacheable.

Related calculators