Date Calculator
Difference between dates and date arithmetic
Difference between dates
About
Compute the number of days between two dates, or add and subtract days, weeks, months and years from a starting date. Useful for deadlines, billing cycles and project planning. Runs entirely in your browser.
Examples
Compute days between two dates
from: 2024-01-15
to: 2024-03-2065 days = 9 weeks 2 days = 2 months 5 daysDay count is exact; week and month counts use calendar-aware subtraction so '2 months' lines up with the 15th of March, not a fixed 60-day window.
Add 90 business days to a date
start: 2024-06-01
add: 90 business days (skip Sat/Sun)2024-10-08Skips weekends so the result lands on a weekday, useful for projecting delivery or SLA deadlines.
About this tool
The Date Calculator does two complementary things: computes the difference between two dates in days, weeks, months and years, and adds or subtracts a duration to a starting date. Both operations are calendar-aware, so day counts are exact and month/year arithmetic lands on a real calendar date (Jan 31 + 1 month = Feb 28, not Mar 3).
It respects your local timezone and DST rules, and can switch to UTC for stable, timezone-independent intervals. All math runs in your browser; your dates are not uploaded or stored.
How to use
Pick a mode
Choose Difference to find the interval between two dates, or Add/Subtract to project a date forward or backward by a chosen duration.
Enter the dates or duration
For Difference, set the start and end dates. For Add/Subtract, set a start date and a duration in days, weeks, months or years.
Read the result
The tool shows the interval in calendar units or the projected date. Switch the timezone to UTC for a stable, region-independent result.
Use cases
Calculating SLA and trial windows
Compute 'N days from now' or 'days until expiry' for support tickets, free trials, and license terms without doing calendar math by hand.
Projecting timelines
Add a fixed number of weeks or months to a project start date and see the resulting calendar date, accounting for short months and leap years.
Verifying a colleague's date arithmetic
Sanity-check a date diff you computed inline in a spreadsheet before quoting it in a contract or report.
Common mistakes
Mistake:Treating a 'month' as 30 days.
Fix:Calendar months vary from 28 to 31 days. The calculator uses calendar-aware subtraction so Jan 31 + 1 month = Feb 28/29, not Mar 3.
Mistake:Ignoring the user's timezone.
Fix:Two dates with the same calendar date in different timezones can be 24 hours apart in absolute time. Switch to UTC if you need a stable, tz-independent result.
Mistake:Forgetting DST transitions.
Fix:Spring-forward and fall-back days have 23 or 25 hours. The calculator respects local DST, so '24 hours from now' is always exactly 24 hours even across a transition.
Frequently asked questions
References & standards
Related tools
Driver's License Generator
Generate driver's license numbers in the correct format for 21 countries and all 50 US states, plus a format and Luhn validator — test data only, runs in your browser.
Address Generator
Generate realistic addresses in the correct format for 21 countries — single-line, multi-line, JSON or HTML — plus a postcode validator. Test data only, runs in your browser.
Phone Number Generator
Generate phone numbers in the correct format per country — mobile, landline and toll-free — in international, national, raw or tel: format, plus a validator. Test data only.
XML to JSON Converter
Convert XML data to JSON format with attribute handling, configurable parsing options, and live statistics
Markdown to HTML Converter
Convert Markdown to clean HTML with GitHub-Flavored Markdown, syntax highlighting, and optional sanitization
Docker Run to Compose Converter
Convert a docker run command into a docker-compose.yml service definition with full flag support