Date, time and productivity
Date difference calculator
Days, weeks and approximate months between two dates, with no time-zone drift.
Dates, Times and ProductivityResult
Fill in the fields and the result appears as you type.
Type the values into the fields and leave the rest to me.
How to use
The difference between two dates can be counted in days, weeks or months, and each answer serves a different purpose. Days are exact, weeks are days divided by seven and months are an average — calendars do not have equal months, so an exact month count would need a rule for each pair of dates.
- Count the days until a deadline, a trip or a contract term.
- Work out how long a project or a treatment lasted.
- Convert a period quoted in days into weeks or months.
- Enter the first date.
- Enter the second date — it can be before or after the first.
- The result shows the difference in days, weeks and approximate months.
Formula
Days = |end − start| ÷ 86,400 s · Weeks = days ÷ 7 · Months ≈ days ÷ 30.436875
Example
From 1 March to 1 June there are 92 days, 13.14 weeks or about 3.02 months.
Limitations
- Both dates are read in UTC to avoid daylight-saving shifts of one hour that would flip a day count.
- Months are an average of the Gregorian year (30.436875 days); the exact month count depends on which months are involved.
- Business days are not counted here — weekends and holidays are included in the result.
Frequently asked questions
Does the order of the dates matter?
No. The calculator returns the absolute difference, so 1 June to 1 March gives the same numbers.
How do I count working days?
Take the total in days and subtract the weekends; for holidays, discount them one by one. This calculator does not exclude them.
Related tools
- Image to Base64Turn an image into a Base64 string or data URI, and a Base64 string back into an image.
- Create imageGenerate a transparent, solid colour or gradient image at the exact size you need.
- Compare imagesSee two images side by side and highlight the pixels that differ.
- Contact sheetArrange several images into one contact sheet and download the result.
- Recipe scalerScale a recipe's ingredient amounts up or down for a different number of servings.
- Profit margin calculatorThe real margin between cost and selling price, with markup alongside for comparison.