Span leap day in 25 hours
Input and settings
2024-02-28 23:30 → 2024-03-01 00:30
Expected result
1 d 1 hr 0 min / 25 total hours; 1500 minutes
Calculate the difference between the calendar date and time values you enter.
These are example steps; replace the values for your task.
This tool calculates the difference between the calendar date and time values you enter. It is suitable for schedules that use the same region and clock basis.
It does not account for time-zone changes or daylight-saving transitions. Use the Time Zone Converter for date and time values in different regions.
From 01:30 to 03:30 on the same date, the result is two hours. No region or time-zone data is attached, so daylight-saving transitions are not applied automatically.
Compare a leap-day interval with a clock-time interval without zone offsets. These fixed examples are not the current time.
Example buttons replace the inputs and settings above and calculate. Restore previous input steps back one example at a time. After trying multiple examples, repeat restore to return to your original input. This history is lost when the page closes.
2024-02-28 23:30 → 2024-03-01 00:30
1 d 1 hr 0 min / 25 total hours; 1500 minutes
2026-03-08 01:30 → 2026-03-08 03:30 / No offset supplied
0 d 2 hr 0 min / 2 total hours; 120 minutes
Calendar days contribute 24 hours each, then the clock difference is added. The leap-day example is 24 plus one hour. The second example stays two hours in every device zone. With explicit start offset −05:00 and end offset −04:00 the elapsed interval would be one hour, but this form cannot express those offsets.
End must be at or after start. Offset changes, daylight-saving transitions, leap seconds and break deductions are not modeled. Compare actual instants separately using explicit offsets, for example through Unix timestamps.
Verification: calculation checks cover 25 hours across leap day, zero for identical values and rejection of reversed order. Browser checks in UTC, New York and Tokyo compare the calendar-time result.
2026-09-04 23:15 to 2026-09-05 01:45 is 2 hours 30 minutes, or 150 total minutes.
Calendar date difference is multiplied by 86,400 seconds and combined with the clock-time difference.
Leaving the end date at September 4 makes 01:45 earlier than the start and produces an error.
No. It compares the calendar dates and clock values you enter, without adding or removing actual elapsed time for DST or time-zone changes.
The tool displays an error so a negative duration is not mistaken for a valid result.
The current inputs use minute precision, while the calculation logic can retain seconds.
Share only the tool name and public URL. Your input and results are not included.
Keep any content you need before clearing. This tool does not autosave inputs or results. Reloading or closing the page, clearing inputs or resetting may discard your work.
Favorites and language preferences are stored separately and may be lost when site data is cleared. Tool resets and site-data deletion do not delete files already downloaded to your device.