Anzeige

Calculate Period Length



Enter a start and an end time. The period length between will be calculated.

 hmsMonthDayYear
From: 
To: 
   

Period length: day(s), hour(s), minute(s), second(s)
(A possible error of one hour is due to daylight saving)

// is the . day of the year.
// is the . day of the year.

See also add / subtract days to a date


Example: From January 1st to March 31st of a year, there are either 89 days, or 88 days and 23 hours if the switch from standard time to summer time occurs during this period. This applies to a normal year. In a leap year, however, there are either 90 days, or 89 days and 23 hours, because the leap day, February 29th, falls within this period.


The default start date is January 1st of the current year. The end date is the current date. The default times are midnight, marking the start of each day. The difference, or length of the period between these two dates, is displayed in days, hours, minutes, and seconds. These are units with unambiguous lengths, unlike months and years, which have varying lengths. For each of the two dates, the number of days in the year is also displayed.
The calculation is based on the actual time difference between the two specified times. Time zones and any daylight saving time changes are automatically taken into account, as the calculation uses internal timestamps. The system time of your computer is used, which also contains the information about daylight saving time. Therefore, during periods with daylight saving time changes, deviations of exactly full hours may occur, accurately reflecting the actual time interval.
The start date should be before the end date. Even if this is not the case, a result will be displayed, then with negative time values. Then all time units are negative or zero.





Anzeige






Anzeige