📅 Days Between Dates — Count Days, Weeks & Months Between Any Two Dates
Instantly find the number of days, weeks, months, and business days between any two dates.
Date Facts
How to Count Days Between Two Dates
At its core, the calculation subtracts one date from another. In JavaScript (and most programming languages), dates are stored as milliseconds since January 1, 1970. The difference in milliseconds divided by 86,400,000 gives the number of days.
Weeks are days ÷ 7. Months are more complex — they require counting full calendar months between the two dates and then the remaining days separately, since months have different lengths.
Business days require checking each individual day in the range and excluding Saturdays and Sundays. For project planning purposes, you can treat this calculator's business day count as correct for countries where Mon–Fri are working days.
Days in each month
Feb has 29 days in leap years (divisible by 4, except century years unless also divisible by 400).
Common Date Spans at a Glance
Quick reference for frequently needed date counts.
Frequently Asked Questions
How Many Business Days Between Two Dates?
For contracts, project timelines, and legal deadlines, business days are what matter. Weekends don't count. If a contract says "deliver in 10 business days" and you start on a Monday, the deadline is two weeks away (the following Friday), not 10 calendar days later. This calculator counts business days by checking every day in the range individually and skipping Saturdays and Sundays — giving you an accurate count for planning purposes.
Days Between Dates for Project Planning and Deadlines
Project managers use date-span calculators to build timelines, set milestones, and calculate buffer time. A useful technique: calculate the total calendar days between your start and your hard deadline, then subtract weekends and known holiday dates to get your available business days. Divide that by the number of tasks to find how many working days each task can consume without pushing the deadline.
How Many Days Until My Vacation, Event, or Holiday?
Enter today's date as the start and your event date as the end to count down to any future date. The calculator shows the total days remaining, the weeks and days breakdown, and the number of working days — useful if you're tracking how many working days remain before an annual leave period. For a dedicated countdown timer with presets for major holidays, use the Days Until Calculator.