Translated to unformatted numbers (aka fractions of days)
Code: Select all
14:00 16:00 -2:00
0,58333 0,66667 -0,08333
Number format
[HH]:MM displays a negative day fraction -1/12 (a negative time span)
Number format
HH:MM displays the hours reprepresenting 1/12 before midnight 22:00 (a point on the time scale).
On the spreadsheet time scale the point zero is 1899-12-30 00:00
-0,08333 formatted as full date+time is 1899-12-29 22:00
YEAR(-1/12) => 1899
MONTH(-1/12) => 12
DAY(-1/12) => 29
HOUR(-1/12) => 22
MINUTE(-1/12) => 0
If you want to calculate the time span between 16:00 and next day's 14:00:
adding one day if the end time is later than the start time