Count the days, weeks, months and business days between two dates — right in your browser.
Counting the days between two dates looks like simple subtraction until the calendar gets in the way: months have 28, 29, 30 or 31 days, February changes length every four years, and daylight saving shifts the clock without changing the date. This calculator handles all of it and answers the question in four different shapes at once — total days, weeks plus days, months plus days, and the full years-months-days breakdown that people actually use to describe a period of time.
Internally each date is converted to a Julian day number, an integer that counts days on a continuous line, and the difference is a plain subtraction. That makes the result immune to time zones and daylight saving. The calendar breakdown is not an approximation: instead of dividing by 30, the tool finds the largest whole number of months that fits between the two dates — clamping to the end of shorter months, so 31 January to 1 March is one month and one day — and then counts the days left over.
The business-day figure counts only Mondays to Fridays, using whole weeks times five plus the remaining weekdays. Public holidays are not included: they differ by country, state and city, and a generic tool that guessed them would be wrong more often than right. For deadlines that depend on official holidays, use this number as the starting point and subtract the holidays that apply to you. Both dates stay on your device — the page performs no network requests with your data.
Calendar days = JDN(end) − JDN(start), where JDN is the Julian day number of each date. Calendar breakdown: take the largest whole number of months M that fits between the dates (clamping the day to the last day of shorter months), then years = M ÷ 12, months = M mod 12, and days = the remainder in days. Business days = ⌊days ÷ 7⌋ × 5 + the Monday-to-Friday days left in the incomplete week.
It counts the days elapsed between the two dates, so the start day is not counted and the end day is. From 1 March to 3 March the answer is 2 days. If you need the number of days a period occupies — the classic "counting both ends" — add 1 to the result.
Because real months are not 30 days long. Dividing by 30 drifts by about five days per year. The tool walks the calendar month by month instead, which is why 1 January to 1 March is exactly 2 months even though it can be 59 or 60 days.
No. The business-day count only removes Saturdays and Sundays. Holidays vary by country and even by city, so the tool does not guess them — subtract the ones that apply to your case.
Yes. Leap days are counted like any other day, and the calculation uses whole-day arithmetic, so a clock change never adds or removes a day from the total.
No. The whole calculation runs in JavaScript on your device. Nothing is uploaded, logged or stored.
Vai.la turns any URL into a short link with click statistics, QR Code and your own biolink.
Vai.la is not responsible for how the tools are used or for decisions made based on their results.