Date Calculator
Calculate the number of days between two dates, or add/subtract days, weeks, months, or years from any date.
There are 90 days between the two dates (0 years, 3 months, 1 days).
Popular Date Calculations
Days Until Holidays
Days in Each Month
Frequently Asked Questions
How do I calculate the number of days between two dates?
Enter your start date and end date in the "Days Between Dates" mode above. The calculator subtracts the earlier date from the later date and shows the result in days, weeks, months, and years.
How do I add or subtract days from a date?
Switch to "Add / Subtract Days" mode. Enter a start date, the number of days (or weeks/months/years) to add or subtract, and the calculator will show the resulting date.
Does this calculator account for leap years?
Yes. The calculator uses standard JavaScript date arithmetic, which correctly handles leap years (every 4 years, except centuries not divisible by 400) and varying month lengths.
What is the formula for days between dates?
Convert both dates to their numeric timestamp values, subtract, then divide by 86,400,000 (the number of milliseconds in one day). This gives you the exact number of calendar days between the two dates.