Date Calculator works out an exact age, the number of days between two dates, a date plus or minus days, weeks, months or years, and the hours between two times. Results update as you type and nothing you enter leaves your browser.
How to use
- Pick what to calculate: Age, Days between dates, Add or subtract or Hours between times.
- Enter the dates or times. Today’s date is filled in where it makes sense.
- Read the result at the top. The boxes below show the same answer in other units: weeks, months, hours, weekdays.
What each mode gives you
| Mode | You enter | You get |
|---|---|---|
| Age | Date of birth, and the date to count to (today by default) | Years, months and days; total months, weeks and days; days until the next birthday; the weekday you were born on |
| Days between dates | Start and end date | Days, weeks and days, years-months-days, weekdays (Mon–Fri), weekend days, hours |
| Add or subtract | A date, an amount and a unit (days, business days, weeks, months, years) | The resulting date, its day of the week and how many days away it is |
| Hours between times | Start time, end time, break in minutes | Hours and minutes, decimal hours, total minutes, time before the break |
The weekday figure is usually the one people came for, and it is worth seeing next to the total: of those 318 days, 228 are Monday to Friday and 90 fall at a weekend. Each box is derived from the same two dates by the rules below, so any of these numbers can be checked by hand.
How dates are counted
These are the rules the calculator follows, so you can check any result by hand:
- Days between dates counts the start date and not the end date. 1 January to 2 January is 1 day. With Include the end date it is 2.
- Ages and differences in months use calendar months. The day count restarts each month, so 31 January to 1 March is 1 month and 1 day.
- Adding months keeps the day of the month, or uses the last day when that day does not exist: 31 January + 1 month = 28 February.
- 29 February birthdays are counted on 28 February in years without a 29th.
- Time zones and daylight saving never change a result. Dates are handled as whole calendar days, so a day is always 24 hours here.
- Business days are Monday to Friday. Public holidays are not known to the calculator.
Common questions it answers
- How old am I, exactly, in years, months and days, or in total days?
- How many days until a deadline, a holiday or a due date?
- What date is 90 days from today, or 6 months after a contract start?
- How many working days are there between two dates?
- How many hours did I work from 08:45 to 17:15 with a 45-minute lunch?
For a loan payment or a savings plan over a number of years, see the Loan Calculator and the Compound Interest Calculator.
Privacy
There is nothing to upload. The calculation is a few lines of code that run in your browser. Your date of birth stays on your device, and the anonymous usage statistics only record that the calculator was used, not what was entered. See how it works for how to check this yourself.