Countdown to a Date

Pick a date and time and watch the days, hours, minutes and seconds count down. Add a title, save it, put it in your calendar or share it with a link.

Countdown to Friday, January 1, 2027

Time left:

26days
15hours
00minutes
00seconds

My countdowns

Nothing saved yet. Press Save to keep up to 5 countdowns in this browser.

    How to use

    1. Pick the date and the time of your event. The time is your local time.
    2. Add a title if you like, such as "Summer vacation" (up to 80 characters).
    3. Watch the countdown tick. If the date has already passed, the tool shows how long ago it was.
    4. Press Save to keep it under My countdowns on this device (up to 5). Click a saved one to show it again, or delete it.
    5. Press Add to calendar to download an .ics file for Google Calendar, Apple Calendar or Outlook, or Copy share link to send the countdown to someone.

    How it works

    The date and time you pick are read as local time in your browser, which turns them into an exact moment. Once a second, the tool subtracts the current time on your device from that moment and splits the difference into whole days (86,400 seconds each), then hours, minutes and seconds.

    If the result is negative, the date is in the past, and the tool shows the elapsed time instead. Because the moment is worked out by your browser for your time zone, the hour skipped or repeated when daylight saving time starts or ends is already included.

    The share link carries the target as a plain date and time in the year-month-day order of ISO 8601, for example ?to=2027-01-01T00:00, and the title as text. Opening the link rebuilds the countdown from those two values; nothing is looked up on a server.

    What is inside the calendar file

    Add to calendar writes an iCalendar file as described in RFC 5545, the format that Google Calendar, Apple Calendar and Outlook all read. It holds one event with a unique ID, the time the file was made, the start time and your title. The start is converted from your local time to UTC and written with a trailing Z, so every calendar app places it at the same moment. Commas, semicolons and backslashes in the title are escaped, lines end with a carriage return and line feed, and lines longer than 75 bytes are folded onto the next line, all as the standard requires.

    time left = target moment − now days = floor(seconds ÷ 86,400), then hours, minutes, seconds from the rest calendar start (UTC) = local date and time − your offset from UTC

    Worked example

    Counting from Saturday, December 5, 2026, 9:00 a.m. to Friday, January 1, 2027, midnight: 26 days, 15 hours and 0 minutes, or 639 hours in total. No U.S. clock change happens in that span, so the wall-clock gap and the real gap are the same.

    A share link for that countdown with the title "New Year 2027" looks like this: /date/countdown/s/?to=2027-01-01T00%3A00&title=New+Year+2027

    Made in New York (UTC−5 in January), the calendar file for midnight on January 1 says DTSTART:20270101T050000Z. Made in Los Angeles (UTC−8), the same midnight is DTSTART:20270101T080000Z, three hours later in UTC.

    Limits

    • The countdown uses your device's clock and time zone. If the clock is wrong, the countdown is too. Someone opening your share link in another time zone counts down to the same wall-clock time in their own zone, not to the same instant.
    • The calendar file stores one exact moment in UTC. Your calendar app shows it in whatever time zone you are in, so if you travel, the event keeps the same moment rather than the same clock time.
    • The calendar event has a start and no end or reminder. Most calendar apps let you add an alert after importing it.
    • Daylight saving time changes are handled by your browser, so a countdown across a time change can be one hour shorter or longer than the plain calendar difference.
    • It is a display, not an alarm: nothing happens when it reaches zero, and it doesn't run when the page is closed.
    • Saved countdowns live in this browser only. Clearing site data or using a private window removes them. Share links contain the date and title, so anyone with the link can see them.

    FAQ

    How many days until a date?

    Pick the date and leave the time at 00:00 (midnight). The first number is the number of full days left; the hours, minutes and seconds show the rest. For a plain day count between two dates, the Days Between Dates tool gives the same total without a clock.

    Which time zone does the countdown use?

    Your device's time zone. The date and time you pick are read as local time where you are, so a New Year countdown reaches zero at midnight in your zone.

    How do I add the countdown to my calendar?

    Press "Add to calendar". Your browser downloads a small .ics file with one event at the date and time you picked. Open it, or import it in Google Calendar (Settings, then Import & export), Apple Calendar or Outlook. The file is made in your browser; nothing is uploaded.

    How do I share a countdown?

    Press "Copy share link" and paste the link into a message or post. It opens a page with the same title and target date that keeps counting down, with its own Add to calendar button. That page is not listed in search engines.

    Is my countdown saved?

    Only if you press Save. Saved countdowns are kept in this browser's local storage, up to 5; saving a sixth drops the oldest. They are never sent to a server, so they don't follow you to another device. Use a share link for that.

    What happens when the countdown reaches zero?

    It switches to counting up and shows how much time has passed since the date, so the same link still works after the event.