Date Difference
Days/weeks/months between dates
What is Date Difference?
Compute the difference between two dates in years, months, days, total days, weeks, hours, minutes, and business days. Useful for contract maths, employment tenure, travel-planning day counts, or anything else where "how many days between" actually matters. Business-day count respects weekends but not public holidays (region-dependent).
How do I use Date Difference?
- Pick a "From" and "To" date.
- Read the Y/M/D breakdown plus total-unit counts.
When should I use Date Difference?
Date Difference is the general-purpose interval tool. For age-from-birthdate specifically (with days-to-next-birthday), use Age Calculator. For cron schedule previews, use Cron Parser.
How is the difference calculated?
Total days by default; toggle for years + months + days breakdown, or minutes / hours, or business days only (excluding weekends and configurable holidays).
Are time zones considered?
The calculation uses midnight local time on each date by default. For precise time-of-day differences, switch to "Include time" mode and enter HH:MM.
Does it count leap years correctly?
Yes — the underlying date math uses date-fns, which handles leap years, DST, and calendar edge cases accurately.
Is my file uploaded anywhere?
No. Everything runs in your browser. Your files never leave your device, and there is no server component for this tool.