PUBLIC.INTERNET

Date Duration Calculator

Choose a Start Date and an End Date, or use Set Start to Today and Set End to Today, and the result updates as soon as both are set (Calculate Duration or Enter also work). The page reports total days, weeks and leftover days, a split into years, months and days, and the same span in hours, minutes and seconds. It also counts business days, defined here as Monday through Friday with no holiday calendar, including both the start and end date when they fall on weekdays. Order does not matter: if End Date is earlier, the page says so and measures from the earlier date.

The result updates when either date changes.

How to calculate the time between two dates

  1. Pick a Start Date and an End Date with the date fields, or click Set Start to Today or Set End to Today to fill one with the current date. The page opens with January 1 of this year and today.
  2. The result updates when either date changes. If a date is missing, a message asks you to select it and the old result is hidden.
  3. Read Total Duration in days, the weeks-and-days line under it, and the Years, Months and Days tiles, which split the span into whole years, whole months and leftover days.
  4. Use Alternative Units for total hours, minutes, and seconds, and for Business Days, the weekday count between the two dates.

Why the day count is exact and the month split is a convention

The total in days is plain subtraction of two calendar dates, so it does not depend on any convention. A years, months, and days split does: months have different lengths, so this page adds whole years and months to the earlier date and counts the leftover days. A day that does not exist in the target month is clamped, so January 31 plus one month is the last day of February. When you need an exact figure for a contract term or a deadline, quote the total days.

Business days here is a simple weekday count. It skips Saturdays and Sundays only. It knows nothing about public holidays or regional work weeks, so subtract holidays yourself for contracts and delivery estimates, and adjust for any regional weekend that differs from Saturday and Sunday. Both end dates are counted, which is the inclusive convention, so Monday to Friday of one week returns 5 business days while the total duration shows 4 days.

Hours, minutes, and seconds are the day count multiplied out (days times 24 times 60 times 60). That treats every day as exactly 24 hours, which is right for calendar dates. Daylight saving changes do not affect it, because the inputs are dates rather than times of day. If you need elapsed time between two exact moments, including the hour and minute, this page is the wrong tool.