Inputs
Relativein 26 days
Ready
A countdown is the gap between a reference instant and a target instant, broken into days, hours, minutes, and seconds. The sample target is 2027-01-01T00:00:00Z, and the reference was the clock around 04:30 UTC on 4 December 2026. The raw gap is 27 days, 19 hours, 29 minutes, and 23 seconds remaining. The relative phrase next to it says "in 28 days", because that phrase rounds to the nearest day. Just under 28 days still reads as 28. The countdown keeps the remainder the phrase throws away.
Both lines update from the two instants you type. Use now as the reference to measure from the current time. A target in the past flips the countdown word from remaining to elapsed and the phrase becomes an ago. The target has to be an ISO 8601 instant with Z or a numeric offset, not a bare date, so the hour is not silently midnight in an unknown zone. 2027-01-01 alone is accepted as UTC midnight by the date parser used here; a time without an offset is rejected.
The relative-time page shows the same two lines. Open the countdown when you care about the clock remainder. Open relative time when you care about the phrase. Neither is a minute timer sitting on your desk; both evaluate the two instants.
Target 2027-01-01T00:00:00Z. Reference now, sampled at 2026-12-04T04:30:36Z.
Relative: in 28 days. Countdown: 27d 19h 29m 23s remaining.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
The phrase rounds to the nearest day. 27 days and about 19 hours is closer to 28 days than to 27. The countdown line keeps 27d 19h 29m 23s.
Take the absolute gap in seconds. Days are the whole 86400-second chunks, then hours, minutes, and seconds are the leftovers. The sample gap matches 27d 19h 29m 23s.
The countdown says elapsed instead of remaining, and the phrase switches to an ago form.
A full time needs Z or an offset such as +05:30. A bare YYYY-MM-DD is read as UTC midnight. A time with no offset is rejected.
The word now means the current instant when you calculate. Type a fixed ISO reference if you need a gap that does not move.