Days Since Calculator

Find exactly how many days, weeks, months and years between any two dates.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

The days-since calculator gives you the exact time elapsed — or remaining — between any two dates. Enter the event date (a birthday, a start date, a historical moment) and a comparison date (defaulting to today) and you instantly get the span expressed as total days, weeks, months, years, hours, minutes and seconds, plus a clean years-months-days breakdown.

How it works

Date arithmetic looks simple until you try it properly. This tool handles all the edge cases:

Total days is exact. The engine converts both dates to midnight UTC timestamps and divides the millisecond difference by 86,400,000 — no rounding, no daylight-saving confusion because both dates are treated as calendar-day midnight.

Total weeks is the floor of total days divided by seven. The remainder in days is shown alongside so you know the fractional week at a glance.

Total calendar months avoids the “average month length” trap. The algorithm starts from the earlier date and counts complete calendar months by incrementing month-by-month until it would overshoot the later date. January → March is 2 whole months regardless of how many days each month has.

Years-months-days breakdown stacks the month counter: it extracts whole 12-month chunks as years, reads the remaining months, then measures the leftover days by computing how far past the last whole-month boundary the later date sits. This is the same logic civil registrars use when they say someone is “34 years, 7 months and 12 days old.”

Hours, minutes, seconds count back from the raw millisecond total so they are always internally consistent with the total-days figure.

Worked example

Suppose you want to know how long it has been since the millennium — 1 January 2000 — as of 1 June 2026:

  • Total days: 9,648
  • Total weeks: 1,378 (with 2 days over)
  • Total months: 317
  • Total years: 26
  • Breakdown: 26 years, 5 months, 1 day
  • Total hours: 231,552
  • Total minutes: 13,893,120

The tool works in both directions: set the event date to any date in the future and it switches seamlessly to “days until.”

Formula note

The core calculation is:

total days = floor((T₂ - T₁) / 86,400,000)

where T₂ and T₁ are UTC midnight timestamps in milliseconds. For the years-months-days breakdown the engine finds the largest whole-month count m such that addMonths(earlier, m) <= later, then sets years = floor(m / 12), months = m mod 12, and computes the remaining days from later - addMonths(earlier, m).

6 FAQs

Q: How many days since I was born? Enter your date of birth as the event date and leave the compare date as today. The hero number is your age in days.

Q: How many days until my next birthday? Enter your upcoming birthday as the event date and today as the compare date. The calculator flips to “days until” automatically.

Q: What if the two dates are the same? All counters return zero — zero days, zero weeks, zero months, and so on.

Q: Does the 29 February work correctly? Yes. Both 2000-02-29 and 2024-02-29 are valid inputs; the timestamp engine counts the real calendar days without any special-casing.

Q: Can I use this to track a project deadline? Absolutely. Set the event date to the deadline, the compare date to today, and you will see exactly how many working-calendar days remain — useful for milestone planning.

Q: How precise is the seconds figure? The seconds count is derived from the whole-day difference (both dates normalised to midnight), so it counts complete 24-hour periods rather than wall-clock seconds. For sub-day precision you would need a time-of-day input, which is outside the scope of a calendar-day tool.

Ad placeholder (rectangle)