Wizard Toolbox Tool map Feedback
BETAStill being built. Things may break. Tell us

Date & Time Calculator

Dates, ages and hours on one page. Pick what to work out; the answer follows as you type.

Result

–

Days between two dates

Pick a start and an end date. The answer counts the days from one to the other, so from Monday to Wednesday is 2 days. Turn on Count the end date too when both days should count, as for an event running Monday to Wednesday (3 days). Weekdays only leaves out Saturdays and Sundays; public holidays differ by country and are not removed.

Adding months and years

A month is added on the calendar, not as 30 days: 15 January plus one month is 15 February. When the day does not exist in the new month, the last day is used instead, so 31 January plus one month is 28 February (29 in a leap year).

Working days

With Days are working days on, the days are counted on weekdays only, the way a deadline of "10 working days" is usually worked out. Weekends are skipped, and an answer that would land on a weekend moves past it.

How the age is counted

Whole years first: the birthdays that have passed. Then whole months since the last birthday, then the days left over. Someone born on 15 March is one month older on 15 April, however many days April's month had. This is how ages are counted on forms and in law, so the answer matches what you would work out on a calendar.

A date other than today

Change Age on to find how old someone was, or will be, on a particular day: the date of an exam, a wedding, or the day a rule about age applies. It can be a date in the past or the future.

Born on 29 February

In a year without 29 February, the birthday is shown on 28 February. Some places count the day after, 1 March, as the legal birthday in those years, so check if it matters for a document.

Hours between two times

Pick a start and an end time. When the end is earlier than the start, it is taken as the next day, so 22:00 to 06:00 is 8 hours. Put an unpaid break in minutes to take it off: 09:00 to 17:30 less a 30-minute lunch is 8 hours.

Decimal hours

The answer is shown in hours and minutes and as decimal hours, which is what most payroll sheets ask for: 7 hours 45 minutes is 7.75 hours. To turn minutes into decimal hours, divide by 60: 15 minutes is 0.25, 20 is 0.33, 30 is 0.5 and 45 is 0.75.

One shift at a time

This works out one span between two clock times. For a week of shifts, work out each day here and add the totals on the Hours and Minutes Calculator, which takes a list.

Adding and subtracting

Pick a start time, choose Add or Subtract, and fill in any of hours, minutes and seconds. 21:15 plus 5 hours 50 minutes is 3:05 AM the next day. Values past 59 are fine: 90 minutes is read as 1 hour 30.

Past midnight

When the answer runs past midnight, the line under it says so: the next day, the day before, or how many days later. Adding 100 hours to 09:00 lands on 1:00 PM, 4 days later.

Adding up a timesheet

Put one time on each line, in whatever form is handy: 1:30, 2h 15m, 45m, 90 min or 7.5. A number on its own counts as hours. Lines that cannot be read are listed by number so they can be fixed, and blank lines are skipped.

Taking time off

Start a line with a minus sign to take it away, for example -30m for an unpaid break. The total can go below zero, and is shown with a minus sign when it does.

Long totals

The total does not wrap at 24 hours: five shifts of 8:15 add up to 41h 15min, which is 41.25 decimal hours. A total of a day or more also gets a figure in days and hours.

Questions

How many days until a date?

Leave the start date as today and put the date in End date. The start date fills in with today when the page opens.

Does it handle leap years?

Yes. Dates are counted on the real calendar, so 29 February is there in leap years and not in others.

What about time zones?

Dates are counted as whole calendar days, so time zones and clock changes make no difference.

Why does the total in months not match years × 12?

It does: the total adds the months since the last birthday to the years × 12. The total in days is counted exactly, leap days included.

Can I work out the time between any two dates?

Yes. Put the earlier date in Date of birth and the later one in Age on; the result is the time between them.

Is my date of birth stored?

No. It is worked out in this page and goes nowhere.

Does it handle shifts past midnight?

Yes. An end time earlier than the start is read as the next day. A shift longer than 24 hours cannot be given as two clock times; add it up as hours instead.

Can I use 12-hour times?

The time boxes follow your device's clock setting, so they show AM and PM where that is the norm. The line under the answer gives both times in 12-hour form.

How is the break taken off?

Once, in minutes, from the whole span, and the answer never goes below zero. Leave paid breaks out.

What time will it be in 8 hours?

Set the start to the time now and add 8 hours. The page opens on 09:00 plus 8 hours, which is 5:00 PM.

Can it count the hours between two times?

That is the Hours Calculator. To add up several durations, use the Hours and Minutes Calculator.

What does 7.5 mean on its own?

Seven and a half hours, not 7 hours 50 minutes. Write 7:50 for 7 hours 50 minutes.

How do I get the hours for each day?

If you have start and end times rather than durations, work each day out on the Hours Calculator first, then put the answers here, one on each line.

Worked out in this page, on your device · nothing is sent anywhere