About New Year Countdown
Use this New Year Countdown to see the live time left until midnight on January 1. It uses your browser's time zone for the main countdown, then shows when Auckland, Dubai, Lagos, London, and New York reach midnight. Each city celebrates New Year at a different local time.
The timer runs in your browser, with nothing to install and nothing uploaded. It recalculates the remaining time about once per second, using the current time rather than simply reducing a counter. This helps the display recover after a sleeping or throttled browser tab. The calculation also follows time zone rules when it converts local midnight into an exact instant. Check your device's time zone and clock before relying on the result for a party or broadcast.
How to use it
- 1Open the New Year Countdown in your browser.
- 2Check the main timer for midnight on January 1 in your time zone.
- 3Compare the Auckland, Dubai, Lagos, London, and New York countdowns.
- 4Keep the page open to watch the values update about once per second.
Worked example
If the current time is December 31, 2026, at 20:00:00 in London, the target is January 1, 2027, at 00:00:00 in London. The countdown shows 0 days, 4 hours, 0 minutes, and 0 seconds remaining.
How it works
Let now be the current instant.
Determine the visitor's IANA time zone, such as America/New_York, Europe/London, Africa/Lagos or Asia/Dubai.
Set target to local YYYY-01-01 00:00:00 for the next January 1 in that zone.
If the current instant is already at or after that target, set the target to January 1 of the following year.
Calculate:
remaining_ms = target_timestamp_ms - now_timestamp_ms
Decompose:
days = floor(remaining_ms / 86,400,000)
hours = floor((remaining_ms mod 86,400,000) / 3,600,000)
minutes = floor((remaining_ms mod 3,600,000) / 60,000)
seconds = floor((remaining_ms mod 60,000) / 1,000)
Refresh the display about once per second, but recalculate from the current timestamp each refreshDo not merely decrement counters, because browser tabs can sleep or be throttled.
For calendar days until New Year, calculate the difference between local calendar dates separately; do not divide elapsed milliseconds by 86,400,000 when daylight saving time may interveneSource: IANA Time Zone DatabaseECMAScript Numbers and DatesMDN Date.now(). Last checked 5 November 2026.
What it is good for
- See your local New Year countdown and five major city times together.
- Use clear days, hours, minutes, and seconds that update live.
- Run the tool in your browser without installing anything or uploading data.
- The result depends on your device clock and selected time zone being correct.
- The city views show local midnight times, not a single worldwide countdown instant.
Questions people ask
When does the New Year Countdown end?
It ends at 00:00 on January 1 in the selected local time zone. New Year's Eve is December 31, and the new year starts at midnight going into January 1.
Does the countdown use my time zone?
Yes. The main countdown uses the time zone reported by your browser. Check your device's time zone and clock if the result looks wrong.
Why do cities reach New Year at different times?
Midnight happens separately in each civil time zone. Auckland, Dubai, Lagos, London, and New York therefore reach January 1 at different moments.
Why can the countdown show fewer days than expected?
The timer measures exact elapsed time to midnight. A calendar can show one day until January 1 while only a few hours remain on December 31.
Can daylight saving time affect the countdown?
It can affect the number of elapsed hours between local dates. The tool uses time zone rules to convert local midnight into an exact instant.
Does the countdown work after January 1?
The method targets the next January 1. After the current New Year passes, it rolls forward to the following January 1.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.