Date Difference
Find the time between two dates as years, months and days, plus total weeks, days, hours, minutes and seconds. Leap days count automatically, and the order of the two dates does not matter.
Key features
- Years, months and days between two dates, plus total weeks
- Instantly find your exact age or time until an event
- Leap days count in every total
- Handles any date range, past or future
Guide
Counting the days between two dates by hand is easy inside one month and error-prone across several. Months have 28 to 31 days, leap years add February 29, and a span of "one month" can mean 28 or 31 days depending on where it starts. A date difference calculator does the counting for you.
How the WebRecast calculator works
The tool has two date fields, First Date and Second Date. When the page opens, the first date is January 1, 2000 and the second date is today. Change either field with the date picker and the results update right away. The order does not matter. If the first date is later than the second, the tool swaps them and shows the same positive result.
The tool works with whole dates only. It has no time field, so every date starts at midnight. The difference is the gap between the two dates, so January 1 to January 2 counts as 1 day. If you want to count both the first and the last day, for example for a hotel stay or a leave request, add 1 to the Total Days result.
What the results show
The first row shows the difference as a calendar breakdown: years, months and days. Next to it, the Week box shows the total number of full weeks in the span, not a weeks part of the breakdown. From January 1, 2000 to March 15, 2024, the breakdown reads 24 years, 2 months and 14 days.
The second row shows the full span as Total Days, Total Hours and Total Minutes. A last box shows the Total Seconds between the two dates. The totals come from the actual number of days in the range, so every leap day inside the span counts.
How the calendar breakdown is counted
The tool counts full years first, then full months, then the remaining days. Full months count from the day of the first date. From January 15 to March 10, one full month ends on February 15 and 23 days remain, so the result is 1 month and 23 days. When the first date is the 29th, 30th or 31st and a month is shorter, that month ends on its last day, so January 31 to March 1 is 1 month and 1 day. This is the same method most people use when they state an age in years, months and days.
The three presets
Three buttons above the date fields fill in common ranges. Today to New Year sets today as the first date and January 1 of next year as the second. Birth to Today sets January 1, 1995 as a sample birth date and today as the second date, so replace the first date with your own. Since Republic Day sets October 29, 1923, the founding date of the Republic of Turkey, as the first date and today as the second.
Common uses
Your age in days: enter your birth date and today. The Total Days box shows how many days you have lived, and the boxes above show your exact age in years, months and days.
Time until an event: enter today and the event date. The breakdown tells you how many months and days are left, and Total Days gives you a single number to count down.
Duration of a project or a contract: enter the start and end dates. Total Weeks is useful for project plans, and the month breakdown fits contracts written in months.
Anniversaries and milestones: enter the start date of a relationship, a job or a habit and today. You can check when you reach 1,000 days by changing the second date until Total Days shows 1,000.
What the calculator does not do
The tool counts calendar days only. It does not skip weekends or public holidays, so it cannot give you business days. It does not add or subtract a duration from a date, and it does not show the day of the week. It has no time or time zone fields. For legal or financial deadlines that use business days or special counting rules, check the rule that applies and adjust the calendar count yourself.
A note on time zones
The tool reads each date as a calendar day in your own time zone, so you get the same result wherever you are. Total Hours and Total Minutes count every day as 24 hours and ignore daylight saving changes.
Frequently asked questions
Can I find out my age in days?
Yes. Enter your birth date as the first date and today as the second. The Total Days box shows your age in days, and the boxes above show it in years, months and days.
Is it accurate with leap years?
Yes. The totals come from the real number of days between the two dates, so February 29 counts whenever it falls inside the range.
