Home > Calculators > How to use the Time Duration Calculator

How to use the Time Duration Calculator

This page explains how to use the Time Duration Calculator that calculates the number of days, minutes, hours and seconds between two dates with time.

Input fields

Date entry

The order of the Day, Month and Year fields depend on your browser's language settings or the order specified in the Site configuration. If the day, month and year are left empty, the current UTC/GMT date is used as default. If the time fields are left empty, they default to the start of the day (Midnight/00:00).

List of input fields
Field/Button Valid range Comments
Day1–31The date of month
Month1–12The month as a number or an English month names (e.g. jan or January)
Year1–3999The year as a number of as roman numerals (e.g. MCMIX). Please enter four digits (e.g. 1960, not just 60) unless you really want to do calculations between dates around 2000 years ago.
Today-Click the button to fill in with today's date
Hour0–23Enter the hour either as a 24-hour format, or a 12-hour format, with "am" or "pm" after the number, e.g. "18" or "6 pm"
Now-Click button to fill in current local time from your browser
Start of day-Click button for 00:00/Midnight or start of the day
Noon-Click button for 12:00/Noon
No Time-Go to the date-only duration calculator

Change from Julian to Gregorian calendar

If the start date is in the Julian calendar and the end date in the Gregorian calendar, this will be adjusted for and reported on the result page.

The old Julian calendar was replaced by the Gregorian calendar which caused a number of days to be lost, depending on when the change happened, the calendar used by the date calculator can be changed in the Country/System setting in the Site configuration.

Linking to the duration calculator

Generally you are allowed to link to the duration calculator from your site, with just a few exceptions as outlined in the Link policy.

Just go to the page that should be linked, and copy the URL/Address from the browser. You can also link to the results page or to a pre-filled form, with default values. To do this, fill in the fields, click "Calculate duration" and then the "Modify the current calculation". That page will contain all values as parameters in the URL so that any other users will see the same values.


Help and example use

Date Calculators

Related links