Days Between Dates Calculator
Example 1
Solution
Answer
Example 2
Solution
Answer
Example 3
Solution
Answer
Example 4
Solution
Answer
References
- [1]National Institute of Standards and Technology, The Gregorian Calendar - NIST Time and Frequency Division. https://www.nist.gov/pml/time-and-frequency-division
- [2]International Swaps and Derivatives Association, ISDA Day Count Conventions, 2006.
- [3]United States Naval Observatory, Leap Years - Astronomical Applications Department. https://aa.usno.navy.mil
- [4]United States Courts, Federal Rules of Civil Procedure Rule 6 - Computing and Extending Time.
Glossary
- Date difference – The amount of calendar time elapsed between two dates, measured in years, months, weeks, days, hours, minutes, and seconds. Date differences are computed using calendar boundaries rather than fixed time intervals.
- Calendar day – A 24-hour period from midnight to midnight as defined by the Gregorian calendar. Calendar days include all days of the week, including weekends and public holidays.
- Leap year – A year with 366 days instead of 365, occurring every four years except for century years not divisible by 400. The extra day (February 29) compensates for the Earth’s orbital period of approximately 365.2422 days.
- Month – A division of the calendar year that varies in length from 28 to 31 days. The Gregorian calendar has 12 months: January (31), February (28 or 29), March (31), April (30), May (31), June (30), July (31), August (31), September (30), October (31), November (30), and December (31).
- Year – The time it takes for the Earth to complete one orbit around the Sun, approximately 365.2422 days. The Gregorian calendar represents this as either 365 days (common year) or 366 days (leap year).
- Week – A unit of time equal to seven consecutive calendar days, starting on Sunday or Monday depending on cultural convention. The ISO standard defines Monday as the first day of the week.
- Business day – A day on which normal business operations are conducted, typically Monday through Friday, excluding weekends and public holidays. Business day counts vary by jurisdiction due to different public holiday calendars.
- Weekday – Any day of the week that is not a weekend day. In most countries, weekdays are Monday through Friday. Weekdays are used for business operations, school schedules, and most commercial activities.
- Weekend – The two-day period at the end of the week, typically Saturday and Sunday in most Western countries. Weekend days are excluded from business day counts and often have different operating hours for businesses and services.
- Time zone – A region of the globe that observes a uniform standard time for legal, commercial, and social purposes. Date differences at the calendar-day level are not affected by time zones, but elapsed hours may differ when events occur in different time zones.
How to Use?
- 1
Select the start date
Choose the earlier of the two dates from the date picker. This is the date from which the calculator begins counting.
- 2
Select the end date
Choose the later date from the second date picker. This must be on or after the start date. The calculator counts up to but does not include this date.
- 3
Review the primary duration result
The Exact Duration field shows the span in years, months, and days. Below it, you will find the breakdown into total days, weeks, months, years, hours, minutes, and seconds.
- 4
Check the business days estimate
The Business Days field shows the approximate number of weekdays (Monday through Friday) within the range. This estimate does not deduct public holidays, which vary by jurisdiction.
- 5
Explore the reference content
Scroll below the calculator to find the days-per-month table, notable date range examples, Gregorian calendar explanation, and detailed guidance on professional applications.
- 6
Use the examples to verify your understanding
The worked examples section shows real date ranges with their calculated results. Compare these against your own calculations to ensure you are using the correct date format.