Countdown Timer
Counts down to a moment, in days, hours, minutes and seconds, and keeps counting past it.
Results
What this tool does
A countdown answers a question the calendar cannot: not how many days until the deadline, but how long is actually left, which on the last day is a very different feeling. The total in seconds is given alongside the split, because that is the figure you need when the answer has to go into another calculation. If the moment has already gone by, the count carries on upwards and says so.
Formula
time left = target instant − current instant
Variables
| Symbol | Meaning | Unit |
|---|---|---|
target_ms | Target moment | — |
now_ms | Current moment | — |
OUT | Time left | — |
DD | Days | — |
HH | Hours | — |
MM | Minutes | — |
SS | Seconds | — |
TS | Total in seconds | s |
EL | Already passed (1 = yes) | — |
Worked example
- Target moment1,767,225,600,000
- Current moment1,758,240,000,000
- Time left104d 00:00:00
- Days104
- Hours0
- Minutes0
- Seconds0
- Total in seconds8,985,600 s
- Already passed (1 = yes)0
Limitations
- The calculation runs entirely in your browser. The values you type are never sent to a server.
- Dates are handled as calendar dates. Time zones, daylight saving changes and public holidays are not taken into account.
Frequently asked questions
What is the number in the target field?
Milliseconds since the first instant of 1970 in UTC, the way every computer stores a moment in time internally. It is an awkward thing to type by hand, which is why the page sets it for you; changing it directly is there for anyone who already has a timestamp from somewhere else. The countdown itself runs on your device's clock, so if that clock is wrong the count will be wrong by the same amount.