Calculator · Dates, time & workdays

Date & Time Calculator

Count the days between two dates, or add and subtract days, weeks, months, years or business days. By default the start date is left out and the end date counted, so 1 to 31 January is 30 days; switch on Include start for 31. Results also show exact hours, weekdays, weekends and business days, minus any holidays you list.

Dates stay in your browser
Report a problem
Timeline

Choose two moments

Time zone: Local browser time

Primary day count

Your timeline, precisely.

Enter valid dates and times to see exact elapsed time, calendar days, and working-day totals.

How it works

Flexible date math without hidden assumptions.

Choose exactly what a counted day means, while keeping real elapsed time and calendar dates visible beside it.

  1. 01

    Choose a mode

    Difference between dates counts the time between two moments. Add or subtract moves a starting date and time forward or back by minutes, hours, calendar days, weeks, months, years or business days.

  2. 02

    Enter the dates

    Pick a date and time for each field, or press Use now. Times use your browser's local time zone. In Add or subtract, enter a whole amount from 0 to 10,000; minutes and hours also accept decimals.

  3. 03

    Set the counting rules

    For a difference, choose the primary count (all days, business days, weekdays or weekend days) and whether to include the start and end dates. To skip holidays, list them as YYYY-MM-DD, separated by commas or spaces.

  4. 04

    Read and copy the result

    See the day count with exact elapsed time, total hours, the calendar span in weeks and the weekday, weekend and business-day split, or the resulting date with its weekday. Copy result gives a one-line summary.

Precise where it matters

Elapsed time, calendars, and work schedules together.

Hours and calendar days

See exact elapsed hours alongside calendar-date counts, which makes daylight-saving changes and partial days transparent.

Business-day rules

Exclude Saturdays, Sundays, and your own holiday dates when counting workdays or adding business days.

Real calendar arithmetic

Add months and years with end-of-month clamping, and add calendar days without pretending every month has the same length.

Date calculator questions

Endpoints, weekends, hours, and calendar arithmetic.

How do I calculate the number of days between two dates?+

Subtract the start date from the end date. Enter both dates and the calculator counts the calendar days between them; by default it leaves out the start date and counts the end date, so 1 to 31 January 2026 gives 30 days. The Calendar span tile shows the same gap in weeks and days.

Does the count include the start and end dates?+

By default the start date is excluded and the end date included. Switch on Include start to count both, which adds one day: 1 to 31 January becomes 31 days. Switch both off to count only the days in between. These rules also apply to weekday, weekend and business-day counts, but not to exact elapsed hours.

How are business days calculated?+

Business days are Monday to Friday minus any holidays you enter as YYYY-MM-DD dates. There is no built-in public holiday calendar, so add your own country's holidays. A holiday that falls on a weekend is not subtracted twice. For example, 2026 has 261 weekdays; listing 1 January and 25 December leaves 259 business days.

How do I add business days to a date?+

In Add or subtract mode, choose Business days as the unit. The calculator steps one day at a time, skipping Saturdays, Sundays and listed holidays, and does not count the start date: 5 business days after Friday 9 October 2026 is Friday 16 October. Subtracting works the same way, backwards.

What date is 90 days from today?+

Choose Add or subtract, press Use now, enter 90 and pick Calendar days. Every day counts, weekends included, and the time of day is kept. For example, 90 days after 4 October 2026 is Saturday 2 January 2027. Pick Business days instead to skip weekends.

What happens when you add one month to 31 January?+

Months and years clamp to the last valid day of the destination month, so 31 January plus one month is 28 February, or 29 February in a leap year. Adding one year to 29 February gives 28 February. Calendar units keep the local clock time.

Why can the elapsed hours differ from days multiplied by 24?+

Exact elapsed time measures the real hours between the two moments, in your browser's time zone. Across a daylight-saving change a calendar day can last 23 or 25 hours, so noon to noon across the night the clocks go forward is only 23 hours.

Are my dates stored?+

No. The calculations run in your browser, and the dates and holidays you enter are not uploaded or saved. Reloading the page starts the calculator again from the current date and time.

More focused tools, ready when you are.

Explore the growing collection for calculations, documents, writing, and everyday work.

Browse all tools