Days Since Calculator
Count how many days have passed since any historical date or personal milestone. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Abdullah, Technical Content Specialist
Days Since Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Days = (End Date - Start Date) / 86,400,000 ms/day
Worked example โ 13,214 days | 1,887 weeks 5 days | ~36.18 years
Formula
Days = (End Date - Start Date) / 86,400,000 ms/day
The difference in milliseconds between two JavaScript Date objects is divided by 86,400,000 (the number of milliseconds in a 24-hour day) to obtain the number of calendar days. Business days are computed by iterating through each day and excluding Saturdays and Sundays.
Worked Examples
Example 1: Days Since a Birthday
Problem:How many days have passed since January 15, 1990, to March 21, 2026?
Solution:Start date: 1990-01-15 End date: 2026-03-21 Difference in ms: (2026-03-21) - (1990-01-15) = 1,141,516,800,000 ms Total days = 1,141,516,800,000 / 86,400,000 = 13,214 days Weeks = 13,214 / 7 = 1,887 weeks and 5 days Approx years = 13,214 / 365.25 = 36.18 years
Result:13,214 days | 1,887 weeks 5 days | ~36.18 years
Example 2: Business Days in a Quarter
Problem:How many business days are there from January 1, 2026 to March 31, 2026?
Solution:Total calendar days: 89 Weekend days (Sat+Sun): 24 Business days = 89 - 24 = 65 Weeks = 89 / 7 = 12 weeks and 5 days Months ~ 2.9
Result:89 calendar days | 65 business days | ~12 weeks 5 days
Frequently Asked Questions
How does Days Since Calculator count the number of days between two dates?
Days Since Calculator computes the difference between two dates by converting both dates into milliseconds since January 1, 1970 (the Unix epoch), then subtracting the start date from the end date. The millisecond difference is divided by 86,400,000 (the number of milliseconds in one day) to get the total number of calendar days. It properly handles leap years because the underlying JavaScript Date object accounts for them automatically. You can also choose to include the end day in the count, which adds one extra day to the total, useful when you want to count both the start and end dates as full days.
What is the difference between calendar days and business days?
Calendar days include every single day in the range, whether it falls on a weekday or weekend. Business days, also called working days, only count Monday through Friday and exclude Saturdays and Sundays. For example, a span of 14 calendar days typically contains 10 business days and 4 weekend days. This distinction matters for legal deadlines, shipping estimates, project planning, and payroll calculations. Note that Days Since Calculator does not account for public holidays, which vary by country and region, so the business day count represents a standard working week without holiday adjustments.
Does Days Since Calculator account for leap years correctly?
Yes, Days Since Calculator correctly handles leap years in all its computations. A leap year occurs every four years (when the year is divisible by 4), except for century years not divisible by 400. So 2000 was a leap year but 1900 was not. February 29 is included in the day count whenever it falls within your date range. When converting days to approximate years, the calculator uses 365.25 as the average days per year, which accounts for the extra day every four years. This ensures that long-range calculations spanning multiple decades remain accurate regardless of how many leap years are included.
Why might my day count differ from other online calculators by one day?
The most common reason for a one-day discrepancy is whether the end date itself is included in the count. Some calculators count only the days between the two dates (exclusive), while others include both the start and end dates (inclusive). Days Since Calculator defaults to exclusive counting but provides an option to include the end day. Another source of difference is timezone handling: if a calculator converts to UTC while another stays in local time, crossing midnight boundaries can shift the count by one. Always check which convention a calculator uses when comparing results, especially for legal or contractual deadlines where a single day matters.
How do I calculate the number of working days between two dates?
Count total calendar days, subtract weekends (roughly 2/7 of total days), then subtract any public holidays in the range. For accuracy, iterate through each day and check. Most spreadsheets have NETWORKDAYS functions that handle this automatically.
References
Background & Theory
History
Reviewed for accuracy by Abdullah, Technical Content Specialist ยท Editorial policy
Related Calculators
๐งฎTime Since Calculator
Calculate exact time elapsed since a specific date and time in years, days, hours.
๐งฎAge in Days Calculator
Calculate your total age in days, hours, minutes, and seconds since birth.
๐งฎAdd Days to Date Calculator
Add or subtract days, weeks, months, or years from any date to find the resulting date.
๐งฎWork Anniversary Calculator
Calculate years, months, and days since your work start date for anniversary milestones.
๐งฎDate Difference Calculator
Calculate the exact number of days, weeks, months, and years between any two dates.
๐งฎDays Until Calculator
Count the exact days remaining until any future date โ holidays, deadlines, or events.
๐งฎDays Until Christmas Calculator
See exactly how many days, hours, and minutes remain until Christmas Day.
๐งฎDays Until New Year Calculator
Count down the days and hours remaining until January 1st of the next year.