Skip to main content
Tools

Date Difference

Count the days, weeks, months and years between two dates or times, plus weekdays. ROC (Minguo) dates work too.

Result

Enter a start and end date to see the difference in days, weeks, months and years.

How to use

  1. Enter a “Start date” and an “End date”, such as 2024-05-01, 2024/5/1 or 20240501, or an ROC date such as 113/05/01 or 1130501. “Today” fills in today’s date.
  2. To measure to the minute, check “Include time” and enter times in 24-hour format, such as 18:30.
  3. To count the end date as a full day (for example, the length of an event), check “Include the end date”.
  4. The result shows the days, weeks, months, years, total hours and weekdays between the dates. Click “Copy” next to any of them.

FAQ

What does “Include the end date” change?

Plain subtraction does not count the end date: May 1 to May 2 is 1 day. When you count how many days an event lasts, both ends usually count, so May 1 to May 2 is 2 days. Check “Include the end date” for that.

How are months counted? Is Jan 31 to Feb 28 a month?

Months are counted from the start date, and when the later month has no such day, its last day is used. So Jan 31 to Feb 28, 2023 is 1 month. In 2024, a leap year, Jan 31 to Feb 28 is 28 days, because the month only completes on Feb 29.

Are public holidays excluded from weekdays?

No. Weekdays only skip Saturdays and Sundays. Holidays differ by country and year, so check your local calendar if you need working days.

Can I enter ROC (Minguo) dates?

Yes. 113/05/01, 113.5.1, 1130501, 民國113年5月1日 and 民前1年10月10日 all work, and so do full-width digits. Four-digit years are Gregorian; three digits or fewer are ROC years (ROC year + 1911 = Gregorian year).

What happens with daylight saving time when times are included?

Total hours are the real elapsed time in your device’s time zone, so a range that crosses a daylight saving time change is an hour shorter or longer, and the tool tells you.

Are the dates I enter uploaded?

No. Everything is calculated in your browser and never leaves your device.

Keyboard shortcuts

/
Search tools (on a tool page, goes to the homepage search)
?
Show this help
Esc
Close a dialog
Ctrl / ⌘Enter
Run the tool's main action (where supported)

While you type in a text field, / and ? are typed as usual.