Time zones when subtracting time
Keep date subtraction correct when locations use different offsets.
What it means
Keep date subtraction correct when locations use different offsets.
How to calculate or use it
Perform instant-based arithmetic in UTC, then display the result in the requested local zone.
Important details
A local time may be repeated or skipped during a clock change.
Related before guides
- Plan backward from a deadline — Turn a final deadline into earlier milestones and start dates.
- How to calculate hours before a time — Calculate the exact clock time a number of hours before another time.
- How to calculate weeks before a date — Move backward by complete seven-day periods.