Time Between Two Dates
Local ProcessingCount the days, weeks, months or years between two dates.
How It Works & Processing Standards
Count the days, weeks, months or years between two dates.
Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.
Current Limits
- Maximum input length: 100,000 characters
Choose days, weeks, months or years under "Task". Months and years are counted on the calendar, not by treating a month as 30 days.
What You Can Do
- Days
- End minus start, plus the count including both ends.
- Weeks
- Whole weeks and remaining days.
- Months and years
- Complete calendar months and years.
How to Use Time Between Two Dates
- 1Choose a taskDays, weeks, months or years.
- 2Enter datesStart and end as YYYY-MM-DD.
- 3Read the resultSee the length of the period.
Examples
Days
Input: 2026-03-01 – 2026-12-25
Result: 299 days (300 counting both ends)
Weeks
Input: 2026-03-01 – 2026-12-25
Result: 42 weeks 5 days
Months (calendar)
Input: 2026-01-31 – 2026-03-15
Result: Complete months: 1
Years
Input: 2020-02-29 – 2026-02-28
Result: Complete years: 6 (72 months)
Common Use Cases
- Counting the days in a contract or project
- Checking years and months of employment or residence
- Seeing how many weeks remain until an event
Frequently Asked Questions (FAQ)
What does "counting both ends" mean?
Both the start and end date count as a day, as with holidays or stays where the first and last day both matter.
Why is 31 January to 15 March one month?
One month after 31 January is 28 February, and two months (31 March) has not been reached. A month is never converted to a fixed number of days.
