Countdown to Date

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

Inputs

Result

Loading calculator…

General calculation reads

Amazon affiliate

As an Amazon Associate we may earn from qualifying purchases. This does not add cost for you.

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

Why use as-of instead of "now"?+
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.
Can I count down to a time, not just a date?+
Not in this calculator — date precision only. For sub-day precision, use a JavaScript-based countdown widget.
Will the count update?+
Only when "as of" is changed. The page doesn't auto-refresh.
Can I countdown multiple dates?+
Run the calculator multiple times with different targets.
How many seconds in a year?+
Average year (365.25 days) = 31,557,600 seconds. Common year (365 days) = 31,536,000.

Related calculators

More tools you might like

Hand-picked tools that pair well with this one — same audience, same intent.