Trip Countdown Timer screenshot

Trip Countdown Timer

Count the days between today's date and a trip date, both typed, with no clock read.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Runs in this tab
No signup

The page subtracts one calendar date from another with the civil-from-days algorithm, so both dates are plain whole numbers. It prints the days to go, the same span in weeks and days, and the two dates it used.

Dates must be real YYYY-MM-DD values: month 13, 31 February and similar are refused rather than rolled forward. A trip date before today is refused, because a countdown to the past is usually a miscopied year. Both dates are typed, so the page never reads your clock.

The answer depends only on the two fields, so a reload prints the same count even with the tab left open overnight.

Days to go is the trip date minus today, both read as calendar dates with the civil-from-days algorithm rather than from a clock: 2027-03-14 from 2026-11-12 is 122 days, or 17 weeks and 3 days.

Both dates are typed, so the count is identical on every reload — the page never reads your device clock, which is why it cannot drift. A trip date before today is refused.

How to use it

Enter the trip date and today's date as YYYY-MM-DD, then press Run. Three lines: the days remaining, the same span in weeks and days, and the note that both dates were typed.

The arithmetic

Each date is converted to days since 1970-01-01 with Hinnant's civil-from-days algorithm, then subtracted. That handles leap years and month lengths exactly, and a date like 2027-02-30 is refused as not a real date.

What to Expect

Best for

  • Checking how long until a departure when you want the same answer every time you look.

What this tool keeps

  • The day count and its weeks-and-days spelling, from the two dates you entered.

Sample input

Trip 2027-03-14, today 2026-11-12.

Sample output

Days to go = 122 = 17 weeks and 3 days Both dates are typed, so the count is identical on every reload.

Frequently asked questions

Does it know today's date?

Only the one you type. The page never reads the device clock, so the count does not silently change between visits and the same two dates always give the same answer.

What date format is needed?

YYYY-MM-DD, for example 2027-03-14. Anything else is refused with that example, and so is a day that does not exist in its month.

Why was my date refused?

Either it is before the date you gave as today, or it is not a real calendar date such as 31 February. The message says which, with the number of days past.

Are my dates uploaded?

No. Both dates stay in the fields of this tab and the subtraction runs there; nothing is stored or sent.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.