Time Until Event
Live countdown to any named event in any IANA time zone.
Written by Golam Rabbani, Founder & Lead Engineer
How to use this time until event
- Optionally name the event so the result is labelled.
- Pick the event date and the event time.
- Choose the IANA time zone the event is in.
- Press "Show time until".
- Watch the live ticker count weeks, days, hours, minutes, and seconds.
- Use Copy to share a snapshot or Reset to clear.
About this time until event
A live countdown that tells you exactly how long is left before — or after — any named event. Unlike a plain difference calculator, this one updates once per second and breaks the gap into weeks, days, hours, minutes, and seconds so you can watch it in real time.
When you set an event, the tool combines the date, time, and IANA zone into a single absolute UTC timestamp using <code>Intl.DateTimeFormat</code> to resolve the zone offset. Each tick subtracts the current <code>Date.now()</code> from that frozen target, so even if your tab sleeps the next tick lands on the mathematically correct value instead of drifting. If the target has already passed, the display flips to "time since" and counts upward.
Worked example: name the event "Conference", set the date to 2026-10-15, the time to 09:00, and the zone to America/New_York. From 28 May 2026 at 10:00 local UK time you will see roughly 20 weeks 0 days 9 hours and a few minutes counting down. After the event passes, the same setup will show how long ago it happened until you press Reset.
Use it for product launches, exam dates, flights, milestones, or any moment you want to feel approaching in real time.
FAQ
- Does the countdown survive a page reload?
- No — the event is held in component state. Reload clears it. Copy the snapshot or save the date elsewhere if you need persistence.
- How accurate is the live tick?
- It updates once per second using <code>setInterval</code> and always recomputes from <code>Date.now()</code>, so the displayed value reflects the actual remaining time even if a tab was paused.
- What if the event is in another country?
- Pick the IANA zone for the event in the dropdown. The target moment is interpreted in that zone, so the countdown lines up with the local clock at the destination.
- Why both weeks and days?
- Long gaps are easier to read in weeks. The "days" field shows the leftover days after the weeks, so 9w 3d means 66 days total — also shown in the totals row.