Countdown Calculator
Count down to a future date or up from a past one: years, months, days, hours, minutes and seconds, plus totals in days, weeks and hours.
Leave empty for a live countdown from now.
Enter a valid target date and time (years 1–9999).
How the countdown works
This calculator finds the difference between your target date/time and the current moment, then breaks that gap down into whole days, hours, minutes, and seconds — updating automatically every second for a live countdown.
The target date and time use your device's local time zone, so the countdown reflects the time as it will occur wherever you are, not a fixed global time.
Frequently asked questions
Does the countdown account for my time zone?
Yes — the target date and time are interpreted in your browser's local time zone, and the countdown is calculated against your device's current local time.
Can I use this for a specific time, not just a date?
Yes — the target field accepts both a date and a time, so you can count down to an exact moment, like the start of an event.
How are months counted?
Whole months are counted from the earlier date, keeping its day of the month (or the last day of a shorter month); the remainder is shown in days, hours, minutes and seconds. Times are compared as written, so a daylight-saving change does not add or remove an hour.
How are holiday dates and “sleeps” counted?
Pick a holiday and the target becomes its next date at 00:00, on or after the start day (today if the start is empty). Calendar days count midnights between the two dates, so they equal the nights left to sleep even when the full-day total is one lower in the evening. The first Sunday of Advent is the fourth Sunday before Christmas; US Thanksgiving is the fourth Thursday of November.
How we verified this calculator
The calculator is checked against 6 reference cases computed independently of its code. Last passed: .
| # | Inputs | Expected result |
|---|---|---|
| 1 |
Holiday (optional) = Christmas Day (25 Dec)
Count from (optional) = 2026-11-24T10:00
|
Years: 0
Months: 1
Days: 0
Hours: 14
|
| 2 |
Holiday (optional) = Sinterklaas eve (5 Dec)
Count from (optional) = 2026-12-06T08:00
|
Years: 0
Months: 11
Days: 28
Hours: 16
|
| 3 |
Holiday (optional) = First Sunday of Advent
Count from (optional) = 2026-11-24T00:00
|
Years: 0
Months: 0
Days: 5
Hours: 0
|
| 4 |
Holiday (optional) = First Sunday of Advent
Count from (optional) = 2027-11-01T12:00
|
Years: 0
Months: 0
Days: 26
Hours: 12
|
| 5 |
Holiday (optional) = US Thanksgiving (4th Thursday of Nov)
Count from (optional) = 2026-11-27T09:00
|
Years: 0
Months: 11
Days: 28
Hours: 15
|
| 6 |
Holiday (optional) = New Year’s Day (1 Jan)
Count from (optional) = 2026-12-31T20:00
|
Years: 0
Months: 0
Days: 0
Hours: 4
|