Date Calculator

Calculate the difference between two dates in days, weeks, months, and years.

Days = (End Date - Start Date) / 86400000 ms; Weeks = Days / 7; Months ≈ Days / 30.44
Jan 1, 2024 to Dec 31, 2024: 366 days (leap year) = 52.3 weeks = 12 months = 1 year, ~261 workdays

How many days are between two dates?

Calculate difference in milliseconds, then divide by milliseconds per day (86,400,000). Example: Jan 1, 2024 to March 1, 2024 = 60 days (includes leap day). Accounts for leap years automatically. Use cases: Project timelines, vacation planning, countdown to events, age of something, billing periods, contract durations. Calculator provides days, weeks, months, and years for convenience.

How many workdays are between two dates?

Workdays = Total days x 5/7 (rough estimate, excluding weekends). Example: 30 calendar days ≈ 21-22 workdays. This is approximate - doesn't account for holidays. For accurate count: Exclude Saturdays, Sundays, and public holidays. Use: Project planning, business days for delivery, work hours calculation. Standard work year = ~260 days (52 weeks x 5 days - holidays).

Why do months show as approximate?

Months have varying lengths (28-31 days), so exact month count depends on specific dates. Calculator uses average month = 30.44 days (365.25 / 12). Example: 60 days ≈ 2 months, but could be 1.9 or 2.1 depending on months involved. For precise monthly intervals, use years + months calculation (like age calculator). Days and weeks are always exact.

How do I calculate days until a future date?

Enter today as start date and future date as end date. Example: Today is March 20, 2024, Christmas is Dec 25, 2024 = 280 days away = 40 weeks = 9.2 months. Use for: Event countdowns, deadline tracking, goal setting, vacation planning. Can also calculate backwards (days since past event) using past date as start, today as end.