Free · Live counter · 4 input methods · Any year 1900–2100

Time Ago Calculator — How Long Ago Was It? Get Years, Months, Days, Hours & Seconds

Pick a past date using any of four input methods — click a day on the calendar (with year and month dropdowns that jump anywhere between 1900 and 2100 in one step), drag the timeline, type the exact date, or describe it in plain English. The output panel next to it tells you exactly how long ago that was, ticking live in years, months, weeks, days, hours, minutes and seconds. Or reverse it and see what date 90 days, 6 months or 3 years ago was. Business-day counts, milestone anniversaries, shareable links, .ics export. Runs entirely in your browser — nothing is uploaded.

Time Ago Calculator

Input on the left · Output on the right · Live updates
📥

Input

Pick the date
MTWTFSS
Drag to explore —
— Today
Try: yesterday · 3 days ago · last week · two years ago · New Year 2000
Selected —
📤

Output

Live result
Time ago
—
Choose a date in the Input panel.
—

Span breakdown — tap a segment —
Weekdays vs weekends —
🎯 Milestones — next round numbers and anniversaries
🕘 Recent calculations

What is a time ago calculator?

A time ago calculator is a tool that measures the gap between a moment in the past and now — or between any two moments — and expresses it in the units people actually think in: years, months, weeks, days, hours, minutes and seconds. Instead of the raw millisecond difference between two timestamps (which is what a computer stores), it gives you the calendar answer that matches how a person would say it out loud: six years, four months and twenty-nine days ago.

That sounds simple, but the phrase "time ago" hides two completely different questions, and most tools on the web only answer one of them:

  • Date → Duration. "I know the date. How long ago was it?" This is the question behind anniversaries, sobriety and fitness streaks, project retrospectives, "days since I started this job", historical curiosity, and the small "3 hours ago" labels on social feeds, comment threads and email inboxes.
  • Duration → Date. "I know how far back I want to go. What date was that?" This is the question behind backdating, "what was the date 90 days ago", notice periods, filing and compliance windows, and every "six months before today" search.

This calculator answers both, in two tabs, using the same underlying calendar engine so the answers always agree. If the tool tells you that 90 days ago was a particular Tuesday, then entering that Tuesday in the other tab will say it was 90 days ago — no rounding drift, no daylight-saving surprises.

Quick answer — how do you find how long ago a date was?

To find how long ago a date was, count whole years forward from that date until adding one more would pass today. Then count whole months the same way. Then count the remaining days, hours, minutes and seconds. This gives the calendar answer — for example, "2 years, 3 months and 4 days ago." The total elapsed time in days is a different number, and this calculator shows both so you can see where they diverge.

That is the whole method in one paragraph. The rest of this page explains why each step is done the way it is, when the two numbers can disagree, and what happens with leap years, month-end clamping, and daylight-saving transitions. If you just need an answer, use the tool above. If you want to trust the answer, read on.

Four ways to enter a date

Different people arrive at this question with different information. Someone who knows the exact date wants a keyboard; someone browsing through history wants to scroll; someone thinking about "last Tuesday" wants to type a phrase. So the input panel gives you four ways to pick a date, and each one updates the output instantly:

MethodBest forHow it works
📅 CalendarPicking a specific day; jumping to any year from 1900 to 2100Pick a month from the dropdown, type any year in the number input, and the grid jumps instantly. Click any day. Today is amber, your selection is purple, and every day in between is lightly tinted so you see the span at a glance. Quick-jump chips go to Today, Jan 1, 10 years ago, Y2K, or the Moon landing.
🎚️ TimelineExploring a range of dates by feelDrag the amber handle left or right. Every position maps to a real calendar date. Release to lock it in. Keyboard arrows also scrub one day at a time; hold Shift for faster jumps.
⌨️ TypeYou know the exact date and want precise entryUse the native date and time pickers, or type YYYY-MM-DD directly. Arrow keys nudge the value; Shift for bigger steps, Alt for smaller.
💬 Type itFast text entry, or when you don't know the exact dateType phrases like "yesterday", "3 days ago", "last week", "two years ago", or "New Year 2000". The tool parses them and computes the corresponding date.

Jump to any year and month instantly

Most date pickers on the web force you to click previous/next arrows one month at a time. Reaching March 1985 from November 2025 that way takes 480 clicks. That is why this calculator replaces the arrow-only navigation with three faster methods:

  • A month dropdown — pick January through December directly.
  • A year input — type any year between 1900 and 2100. The grid jumps as you type.
  • Quick-jump chips — Today, January 1 of this year, 10 years ago, Y2K (1 January 2000), and the Moon landing (20 July 1969). One click lands you in that month.

The arrow buttons still work for fine adjustments, but they are no longer the only way in.

💡 Faster workflow: for a specific date like 3 August 1985, type 1985 in the year box, pick August from the dropdown, then click the 3 in the grid. Three interactions instead of 480 arrow clicks.

How to use this calculator

Mode 1 — How long ago was a date?

  1. Pick the date using whichever input method matches what you know. The calendar is the default. If you want to explore, use the timeline. If you have the exact date in a document or email, use Type. If you're thinking in words, use Type it.
  2. Read the green hero card at the top of the output panel. It shows the calendar breakdown (6 years, 4 months and 28 days), a subtitle with total days and hours, and a plain-English phrase such as 6 years ago.
  3. Watch the odometer tick. Six dark cells flip through years, months, days, hours, minutes and seconds. Only the cell that actually changed animates. It updates every second while "Live counting" is on.
  4. Click any segment of the span bar. Each coloured slice represents one unit of the interval. Click a slice and a detail panel opens below the bar showing the exact from-date and to-date for that portion.
  5. Click any stat to copy it. Every number in the totals grid copies to your clipboard with an instant green confirmation.
  6. Turn on Business days to see the Monday-to-Friday count alongside the calendar-day count.
  7. Scroll to the milestone panel. It shows the next 1, 5, 10, 25 and 50-year anniversaries of your date, plus the next and last round-thousand-day marks — the numbers people actually track for streaks.

Mode 2 — What date was X ago?

  1. Choose your input method. Quick is fastest — enter a number and pick a unit ("90 days", "6 months"). Detailed gives fine control with separate fields for years, months, weeks, days, hours, minutes and seconds.
  2. Choose the direction. Ago subtracts from your starting point. From now adds to it, which is how you find a future date ("90 days from today").
  3. Leave "Start from now" on for the common case, or turn it off to compute from a fixed reference date — useful for "what was 90 days before 31 December 2025?".
  4. Read the result card. Full date, exact time, weekday, ISO week number and day of the year. If the result lands on a leap day or a month with fewer days than the starting date, the tool clamps to the last valid day and displays a "month-end clamped" chip so you know.

How the calculation actually works

There are two different numbers people mean by "how long ago", and a calculator that shows only one of them is either lying or hiding something. This tool shows both.

1. The calendar breakdown

This is the version a person would say out loud: "two years, three months and four days." It is computed by walking forward from the start date in real calendar steps — not by dividing milliseconds:

Step 1. Find the largest whole number of years that can be added to the start date without passing the end date.
Step 2. From that anchor, find the largest whole number of months that can be added without passing the end date.
Step 3. Count the remaining whole days.
Step 4. The leftover time gives hours, minutes and seconds.

2. The total elapsed time

The total is the raw difference between the two timestamps, in milliseconds, divided by the exact length of each unit:

Total days = elapsed ms ÷ 86,400,000
Total hours = elapsed ms ÷ 3,600,000
Total minutes = elapsed ms ÷ 60,000
Total seconds = elapsed ms ÷ 1,000

3. Why both are shown

The calendar breakdown and the total elapsed time can disagree by an hour or so. That is not a bug — they are answering slightly different questions. The calendar breakdown uses clock components (what date was it? what time was it?) which is what a person means in conversation. The total elapsed time uses real milliseconds (how much time actually passed?) which is what a computer means in logs. Around a spring-forward DST transition, "yesterday at noon to today at noon" is only 23 hours of real time, but a calendar calculator will still say "1 day" because that is what people mean.

By showing both, the tool never hides the discrepancy from you.

Why months are the hard part

Months are the reason calendar arithmetic is genuinely difficult. Every other unit is fixed — a day is 24 hours (most days), an hour is 60 minutes, a minute is 60 seconds. A month is anywhere from 28 to 31 days, and February changes length depending on the year. There is no average month that gives an exact answer.

MonthDaysNotes
January31—
February28 or 2929 in leap years (divisible by 4, except centuries not divisible by 400)
March31—
April30—
May31—
June30—
July31—
August31—
September30—
October31—
November30—
December31—

Month-end clamping

Because months have different lengths, "one month before 31 March" cannot be "31 February" — that date does not exist. The standard convention, and the one this calculator uses, is to clamp to the last valid day of the target month: one month before 31 March is 28 February in a common year and 29 February in a leap year. One month before 31 May is 30 April. One month before 31 January is 31 December of the previous year.

This matters when you are subtracting a duration. If you ask "what was the date 1 month ago" on 31 March, the honest answer is 28 or 29 February, and the tool says so explicitly rather than silently rolling forward into March.

Leap years

The Gregorian leap-year rule is: a year is a leap year if it is divisible by 4, unless it is a century year, in which case it is a leap year only if divisible by 400. That rule catches people out with a single counter-example:

  • 2000 — leap (divisible by 400).
  • 1900 — not leap (century, not divisible by 400).
  • 2024 — leap (divisible by 4, not a century).
  • 2100 — not leap (century, not divisible by 400).

Calendar days vs business days

Two dates define a range, and that range can be counted two ways. Both are useful, and both are shown in this calculator.

Calendar days count every day in the range including weekends and public holidays. This is the default and it is what most people mean by "how many days ago".

Business days count only Monday to Friday and skip weekends. The business-day mode in this tool reports the number of Monday-to-Friday days in the range, inclusive of both endpoints, matching the convention used by spreadsheet NETWORKDAYS functions. Public holidays are not excluded — holiday calendars vary by country, region and year, and would require a jurisdiction-specific dataset that this tool does not ship.

⚠ Business days are not the same as working days for everyone. If your working week runs Sunday to Thursday, or includes Saturday, the Monday-to-Friday count will not match your schedule. The tool tells you the weekday count under a Monday-to-Friday convention; adjust manually if your week is different.

A useful intuition: in any 7-day week there are exactly 5 weekdays and 2 weekend days, so the business-day count for a long range is roughly 5/7 of the calendar-day count. For a 365-day span that is about 261 business days and 104 weekend days — the 260/104 split you see quoted in HR and payroll documentation. If someone says a contract requires delivery within 45 business days, they mean about 63 calendar days (45 × 7 ÷ 5), which is why a "45-business-day" window often feels much longer than six weeks.

Daylight saving, timezones and clock changes

Time zones make date arithmetic subtler than it first appears. Three separate issues all matter, and this tool addresses each.

1. Your local timezone

Dates and times are interpreted in your device's local timezone. If you enter 2020-01-01 00:00 and you are in New York, that is midnight Eastern Time, which is 05:00 UTC. The tool shows your current timezone offset and name in the readout under the results, plus the UTC equivalent, so you can verify which timezone is in play.

2. Daylight saving transitions

Twice a year most temperate regions shift their clocks. On the spring-forward day, a local day is only 23 hours long. On the fall-back day it is 25 hours. The total-hours figure in this calculator uses real elapsed milliseconds, so it correctly reports 23 or 25 hours for those days. The calendar breakdown works on clock components, so it still says "1 day", because a person means one calendar day, not 24 hours.

3. Cross-timezone comparisons

If you are comparing a date recorded in UTC (a server log, an API timestamp) with a date in local time, the result can shift by several hours, and sometimes by a whole day. The UTC readout in the timezone panel lets you cross-check. For serious log analysis, convert both timestamps to UTC before comparing; for everyday use, the local interpretation is almost always what you want.

💡 Rule of thumb: the calendar breakdown is what people mean in conversation; the totals are what computers mean in logs. This tool shows both so there is never a hidden disagreement.

Worked examples

Example 1 — how long ago was 15 June 2019?

Assume today is 13 November 2026. Walking forward from 15 June 2019:

  • +7 years would reach 15 June 2026, which overshoots, so 6 years to 15 June 2025.
  • From 15 June 2025, +5 months would reach 15 November 2025, which overshoots, so 4 months to 15 October 2025.
  • From 15 October 2025 to 13 November 2026 is 29 days.

Result: 6 years, 4 months and 29 days ago. As a total, that is roughly 2,343 days, 56,232 hours, or 3,373,920 minutes.

Example 2 — what date was 90 days ago?

Counting back 90 calendar days from 13 November 2026: 13 November minus 13 gives 31 October (13 days used), then minus 31 gives 30 September (44 days used), then minus 30 gives 31 August (74 days used), then minus 16 gives 15 August 2026. So 90 days ago was Saturday 15 August 2026. The tool also confirms the ISO week number (week 33) and the business-day count for that span.

Example 3 — six months before 31 August

Six months before 31 August 2026 is 28 February 2026, because February 2026 has 28 days and the day number clamps down from 31 to 28. The tool flags this: "month-end clamped — day 31 does not exist in February". This is exactly the case where a naive subtraction would produce an invalid date like "31 February" if not handled properly.

Example 4 — a sobriety or fitness streak

Enter the start date and leave the live counter on. The tool shows, for example, 2 years, 7 months and 14 days with a ticking seconds counter underneath. The totals panel shows 949 days, 135 weeks and 3 days, and the milestones panel shows that the 1,000-day mark is 51 days away — the number people actually care about for long streaks.

Example 5 — a contract deadline in business days

A contract is signed on 3 March and requires delivery within 45 business days. Switch to the duration-to-date tab, set 45 days with business-day mode on: the result shows the calendar date that is 45 Monday-to-Friday days later, plus the extra calendar days the weekends added. For a 45-business-day window, expect roughly 63 calendar days — the difference catches people out when they treat business days and calendar days as interchangeable.

Example 6 — using the year input

To find how long ago the Moon landing was: click the Moon quick-jump button (or type 1969 in the year box and pick July). The calendar jumps to July 1969, and clicking the 20th sets the date. The output immediately shows the exact years, months, days and live seconds since 20 July 1969 — over half a century of elapsed time, ticking live.

Example 7 — how many weeks ago was a specific date?

If a date was 100 days ago, that is 14 weeks and 2 days. The totals panel shows both the decimal total (14.29 weeks) and the more useful whole-weeks-plus-leftover form. This is the number people usually want when they ask "how many weeks ago" rather than "how many days ago".

Example 8 — how long ago was 1 million seconds?

1,000,000 seconds ÷ 86,400 = about 11.57 days. So "1 million seconds ago" is roughly 11 days, 13 hours and 46 minutes ago. This is the kind of calculation the reverse mode handles instantly — enter 1,000,000, pick seconds, and the result shows the exact date and time.

Who actually uses a time ago calculator

Search volume for "how long ago" and "what date was" queries is driven by a surprising variety of situations. Here are the ones this tool is designed for:

  • Personal streaks and milestones. Days since quitting smoking, days since a relationship started, days since a fitness streak began. The live counter and the round-thousand-day milestones are built for exactly this.
  • Anniversaries and commemorations. How long since a wedding, a graduation, a death, a first day at a job. The anniversary milestones panel lists the next 1, 5, 10, 25 and 50-year dates so you always know what is coming.
  • Project and legal retrospectives. How long ago did this incident occur? How many business days have elapsed since the ticket was opened? Was the response within the contractual 24-hour SLA? Comparing against a custom end date rather than "now" is what makes the tool usable for closed historical intervals.
  • Filing and compliance windows. The 90-day and 180-day windows in immigration, tax and insurance are calendar-day windows, and mis-counting them by a single day has real consequences. The reverse mode with a fixed reference date is the tool for checking a specific deadline.
  • Historical and genealogical research. "How long after the armistice was the treaty signed?" "How old was my grandmother when she emigrated?" Comparing two historical dates with the custom-end-date mode answers these directly.
  • Content and social metadata. Relative timestamps ("3 hours ago") are the standard display format on social feeds, issue trackers, comment threads and email inboxes. This tool's plain-language phrase matches that convention, and the raw breakdown lets you check the exact number behind it.
  • Grief and trauma recovery. Many people quietly track "days since" the loss of a loved one, a diagnosis, or another difficult event. The tool does not judge, does not require an account, and does not store anything you do not want stored.
  • Baby and child milestones. "How many days old is my baby?" is a time-ago question with the start date being the birth date. The tool shows this in days, weeks, months and hours — all of which parents and paediatricians actually care about.
  • Debugging timestamps. When a log line says 2026-11-13T03:14:07Z and you need to know how stale it is, the date-time input gives an exact elapsed time in seconds, minutes and hours, with a UTC readout for cross-checking against other systems.
  • Age and eligibility checks. For most age questions the dedicated age calculator is a better fit because it handles birthday conventions. But for "how many days has this permit been active" or "how long since this was filed", the time-ago framing is what you want.

Common mistakes

  • Treating a month as 30 days. It is not. Dividing by 30 gives an approximation that drifts by up to a day and a half per month, and the error compounds over a year. Use the calendar breakdown for anything a person will read.
  • Confusing "one month ago" with "30 days ago". On 31 March, one month ago is 28 or 29 February, but 30 days ago is 1 March. Both are legitimate questions; they have different answers.
  • Counting both endpoints when you meant one. If something started on Monday and it is now Tuesday, has one day passed or two? Calendar arithmetic conventionally counts the interval between, not the number of dates named. The tool uses interval counting.
  • Assuming business days exclude holidays. They do not, in this tool. A Monday-to-Friday count that includes Christmas Day will overstate the working days available by one per holiday in the range. If you are budgeting a deadline, add the specific holidays yourself.
  • Forgetting that a DST day is not 24 hours. A span that includes one spring-forward transition contains one hour less than the naive multiplication suggests. The totals in this tool use real elapsed time, so they are correct.
  • Mixing UTC and local time. A timestamp recorded in UTC and read as if it were local can shift by up to a day. The timezone panel shows both so you can spot the discrepancy before it causes trouble.
  • Assuming a leap-year span is the same length as a common-year span. A span that crosses 29 February is one day longer than the same span that does not. The tool counts real days, so the total is correct.
  • Assuming the earliest date is always the start. If you enter a date in the future in the "how long ago" tab, the result is negative. The tool detects this and switches to a forward countdown ("in X years, Y months...") with a clear label, rather than showing a confusing negative number.

Time ago calculator vs age calculator

These two tools use the same underlying arithmetic but serve different search intents, and it is worth knowing which one you want.

QuestionRight toolWhy
"How long ago was 15 June 2019?"Time ago calculatorYou want elapsed time from a specific event to now, not a person's age.
"What date was 90 days ago?"Time ago calculator (reverse mode)You want a date from a duration, which the age calculator does not do.
"How old am I?"Age calculatorAge has birthday-specific conventions (you are "1 year old" on your first birthday, not before) that an age calculator handles explicitly.
"How many days until my next birthday?"Birthday countdownThe countdown is the specific thing that tool is built for.
"How many days has this ticket been open?"Time ago calculatorYou want elapsed time, not a person's age; the age calculator framing does not fit.
"How many days since I quit smoking?"Time ago calculatorLive counter plus milestone marks is exactly the streak-tracking use case.

If you are unsure which one you want, use this calculator. It is the more general tool. If the answer needs the word "years old" in it, use the age calculator.

Relative time formatting

The phrase "3 hours ago" is what the ECMAScript Intl.RelativeTimeFormat API produces, and it is the convention used across operating systems, browsers and social platforms. It rounds to the largest sensible unit — 90 minutes becomes "1 hour ago", and 50 hours becomes "2 days ago" — because that is what a human wants to read at a glance. The exact breakdown underneath is the precise number, and both are shown here because they serve different purposes.

Unix timestamps and epoch time

A Unix timestamp is the number of seconds since 1 January 1970 00:00:00 UTC. It is timezone-independent and monotonic, which is why servers use it. To convert between a Unix timestamp and a local date, you need to know the timezone you want to display it in. This tool takes date-time input rather than raw epoch seconds, but the UTC readout lets you cross-check against a server log.

ISO 8601 week numbers

Week 1 of any year is the week containing the first Thursday of that year. This means late December can fall into week 1 of the following year, and early January can fall into week 52 or 53 of the previous year. The result card in the reverse mode shows the ISO week number so you never have to work it out by hand.

Proleptic Gregorian calendar

For dates before 1582, when the Gregorian calendar was formally introduced, this calculator projects the Gregorian rules backwards. Historical records from before that date use the Julian calendar, which drifts against the Gregorian by about one day per century, so day counts for very old dates may differ from contemporary sources by a few days.

Calendar arithmetic vs millisecond arithmetic

Computers store time as a single number — milliseconds since an epoch. Converting that number to years, months and days requires knowing which calendar is in use, which timezone, which daylight-saving rules applied, and where the leap years fall. The arithmetic is not just subtraction; it is arithmetic over a specific calendar system. This is why naive date code often produces surprising results around month boundaries and DST transitions, and why a dedicated calculator is worth using instead of subtracting two dates in your head.

Leap seconds (brief note)

Since 1972, some years have had an extra "leap second" inserted at the end of June or December to keep atomic time in sync with the Earth's rotation. Leap seconds do not affect this calculator (JavaScript's Date object does not model them), but they matter for high-precision systems, satellite navigation and software that compares timestamps across decades. For everyday time-ago calculations, the effect is negligible — about one second every couple of years.

Privacy

Every calculation, tick, render and download runs in your browser with plain JavaScript. Nothing you type is uploaded, logged or sent to a server. There is no account, no analytics call and no network request after the page loads. Recent calculations are optionally kept in your browser's localStorage so you can reload them, and the Clear history button removes them permanently from your device.

Limitations

  • Business-day mode uses a Monday-to-Friday convention and does not exclude public holidays. Holiday calendars are jurisdiction-specific and would require a dataset this tool does not ship.
  • The calendar year selector covers 1900 to 2100. Beyond that range the underlying JavaScript Date engine still works, but the UI does not expose it.
  • Dates before 1582 are projected using the proleptic Gregorian calendar, which can differ from contemporary Julian-calendar records.
  • The live counter's accuracy is the accuracy of your device clock. Background tabs may be throttled by the browser and catch up on the next tick.
  • The calendar breakdown and the total elapsed figures can differ by an hour around daylight-saving transitions because they answer different questions. Both are shown rather than hidden.
  • The natural-language input parses a curated set of phrases ("yesterday", "N days/weeks/months/years ago", "last week/month/year", "New Year YYYY"). It does not parse arbitrary English text.
  • The tool does not interpret the legal meaning of notice periods or deadlines; it only performs the arithmetic you ask for.
  • Time input is limited to the precision of your browser's time control, which is one second in most modern browsers.

Frequently asked questions

What is a time ago calculator?

A tool that measures the gap between a past moment and now (or between any two moments) and expresses it in calendar units — years, months, weeks, days, hours, minutes and seconds. This version also runs in reverse: enter a duration such as 90 days and it tells you what date that was.

How do you find how long ago a date was?

Count whole years forward from the past date until adding one more would pass today. Then count whole months the same way. Then count the remaining days, hours, minutes and seconds. For a worked example, 15 June 2019 to 13 November 2026 is 6 years, 4 months and 29 days.

How many ways can I enter a date?

Four: (1) click a day on the calendar, which has month and year dropdowns for instant navigation; (2) drag the timeline slider; (3) type the exact date and time; (4) describe it in natural language — "yesterday", "last week", "3 days ago", "two years ago".

Can I jump to a specific year and month in the calendar?

Yes. The calendar header has a month dropdown (January to December) and a year number input (1900 to 2100). Pick a month, type any year, and the grid jumps immediately. Quick-jump buttons also jump to Today, January 1 of this year, 10 years ago, Y2K, or the Moon landing.

How long ago was 2020?

Because it depends on today's date, the tool computes it live. As of any point in 2025, the start of 2020 (1 January 2020) is roughly 5 years ago, and the end of 2020 (31 December 2020) is roughly 4 to 5 years ago. Enter the specific 2020 date you mean in the tool for the exact years, months and days.

What date was 90 days ago?

Ninety calendar days before today. The exact date depends on when you are reading this — the calculator computes it from your device's current date and shows the full date, weekday, week number and business-day count.

What date was 6 months ago?

Six calendar months before today, keeping the same day number where possible. If today is the 31st and the target month is shorter, the result clamps to the last valid day — six months before 31 August is 28 or 29 February, never 31 February.

What date was 30 days ago?

Exactly 30 calendar days before today. Unlike a month, 30 days is a fixed duration — it always lands on the same weekday shifted by two days (30 mod 7 = 2), which is why 30 days before a Monday is always a Saturday.

Why is a month not exactly 30 days?

Calendar months have 28, 29, 30 or 31 days. February has 28 in common years and 29 in leap years; April, June, September and November have 30; the rest have 31. Because of that, a calendar month is not a fixed number of milliseconds, which is why this calculator decomposes the gap using real calendar arithmetic.

How are leap years handled?

Gregorian rule: divisible by 4, except century years, which are leap only if divisible by 400. 2000 was leap; 1900 was not; 2100 will not be. Leap days are included in day totals and the calendar breakdown.

What is the difference between calendar days and business days?

Calendar days count every day including weekends. Business days count only Monday to Friday. The business-day mode reports Monday-to-Friday days inclusive of both endpoints, matching NETWORKDAYS. Public holidays are not excluded.

How do I calculate business days between two dates?

Turn on "Business days" in the tool and it shows the Monday-to-Friday count inclusive of both endpoints. As a rule of thumb, in any 7-day week there are 5 weekdays, so the count is roughly 5/7 of the total calendar days. For a 45-business-day window, expect about 63 calendar days.

Does the calculator account for daylight saving time?

Yes. Totals are computed from real elapsed milliseconds, so a 23-hour spring-forward day contributes 23 hours. The calendar breakdown works on clock components, which is what people mean in conversation. Both are shown so any divergence is visible.

Does it use my timezone?

Yes. Dates and times are read and displayed in your device's local timezone by default, and the tool shows your current offset and name, plus the UTC equivalent for cross-checking against logs or servers.

Can I compare two dates that are both in the past?

Yes. Turn off Live counting and enter a second date. The calculator then measures between your two chosen moments instead of up to the present — useful for project durations, historical gaps and record keeping.

How do I count days since I quit smoking, started a job or began a streak?

Enter the start date and leave the live counter on. You get a ticking display in years, months, days, hours, minutes and seconds, plus totals in days, weeks and hours, and upcoming round-thousand-day milestones. Bookmark the share link to return to the same counter later.

How many days are in a year?

A common year has 365 days; a leap year has 366. The 400-year Gregorian average is 365.2425 days. This calculator counts real calendar days, so a span crossing a leap day is one day longer than the same span that does not.

How do I convert the result to weeks?

Divide total days by 7. The calculator shows both the decimal total and whole weeks plus leftover days. For example, 100 days is 14 weeks and 2 days.

Can I find out what day of the week a past date was?

Yes. The result panel and the reverse mode's result card both show the full weekday. If you just need the weekday, the calendar widget also highlights every weekend day in a muted colour so you can see at a glance which days fell on Saturday or Sunday.

Can I use this calculator to find a future date?

Yes. In the second tab, switch direction from Ago to From now, and the same duration is added to the reference date instead of subtracted. This turns the tool into a future-date calculator — useful for deadlines, countdowns and event planning.

What does the span bar show?

A horizontal bar whose segments are proportional to how much each unit contributes to the total interval. Click any segment to see the exact from/to date-time it covers and its exact count.

What are the anniversary milestones?

The next 1, 5, 10, 25 and 50-year anniversaries of your chosen date, plus the next and last round-thousand-day marks. Round-number day milestones are how people usually track sobriety, fitness and career streaks.

Can I share my calculation?

Yes. The Share link button writes the mode, dates and settings into the URL hash and copies it to your clipboard. Opening that URL later reproduces the same calculation, including a live tick if you compared against now.

Does the calculator work offline?

Yes. All date arithmetic, rendering and interaction run in your browser with plain JavaScript. No network request is made after the page loads.

Does it store my data?

Nothing is uploaded. Recent calculations are optionally saved in localStorage and can be cleared permanently with the Clear history button.

What is the difference between this and an age calculator?

An age calculator is a time-ago calculator pointed at a birth date, with birthday-specific conventions. This tool gives the same arithmetic without that framing, so it works for any event. For birthdays specifically, the dedicated age calculator also handles the next-birthday countdown.

What is the earliest and latest date it can handle?

The calendar year selector covers 1900 to 2100. The underlying JavaScript Date engine handles years 1 to 9999 reliably, and dates before 1582 are projected using the proleptic Gregorian calendar.

Why does the calendar breakdown sometimes differ from the total-days figure?

They answer different questions. Two years and three months is a statement about calendar position. Total days is raw elapsed time. Across a leap day or a daylight-saving change, converting one to the other by dividing by 365.25 or 24 will not give an exact match. Both are shown so nothing is hidden.

Can I use this to work out notice periods or contract deadlines?

Yes, as long as you understand that contract periods are defined by the contract text, not by arithmetic. The tool performs the arithmetic and reports the business-day count; it does not interpret the legal meaning or apply jurisdiction-specific holiday calendars.

How accurate is the live counter?

It updates once per second, aligned to the second boundary, using your device clock. Accuracy is the accuracy of your system time — typically within a second if your device is synchronised. Background tabs may be throttled by the browser and catch up on the next tick.

Sources and methodology

  • ECMAScript Internationalization API — Intl.RelativeTimeFormat, the standard behind the "3 hours ago" phrasing used in operating systems and browsers.
  • ISO 8601 — the international standard for date, time and week-number representation referenced in the result card.
  • timeanddate.com — About UTC — reference for Coordinated Universal Time and timezone offsets.
  • NIST Time and Frequency Division — authoritative reference for timekeeping standards and leap-second handling.
  • Calendrical Calculations (Reingold & Dershowitz) — the standard reference for proleptic Gregorian and other calendar arithmetic used in the clamping and leap-year logic.
  • Microsoft Excel NETWORKDAYS documentation — the inclusive-endpoint convention adopted for the business-day count.
Scroll to Top