Time & Dates
Converting between two zones
Both offsets are signed hours from UTC. Subtracting the source offset reaches UTC and adding the target offset leaves UTC, and the two steps compose into one line.
Last updated
The Formula
target time = source time - source offset + target offset
Both offsets are signed hours from UTC. Subtracting the source offset reaches UTC and adding the target offset leaves UTC, and the two steps compose into one line.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| t_s | Source local time | time | The clock reading in the source zone. |
| o_s | Source offset | hours | Hours the source zone is ahead of UTC. |
| o_t | Target offset | hours | Hours the target zone is ahead of UTC. |
| t_t | Target local time | time | The clock reading in the target zone. |
What Each Symbol Means
t_stime
Source local time
The clock reading in the source zone.
o_shours
Source offset
Hours the source zone is ahead of UTC.
o_thours
Target offset
Hours the target zone is ahead of UTC.
t_ttime
Target local time
The clock reading in the target zone.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to convert time zones page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Convert Time Zones, filed under Everyday Life. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Converting between two zones?
The formula for Converting between two zones is target time = source time - source offset + target offset. Both offsets are signed hours from UTC. Subtracting the source offset reaches UTC and adding the target offset leaves UTC, and the two steps compose into one line.
What does each symbol in Converting between two zones stand for?
t_s is source local time; o_s is source offset; o_t is target offset; t_t is target local time.
What units should I use with Converting between two zones?
Substitute t_s in time, o_s in hours, o_t in hours, t_t in time. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Converting between two zones?
Subtracting the offsets instead of one. Only the source offset is subtracted. Going from UTC+8 to UTC-5 moves the clock back by thirteen hours, which is the sum, but only because one is subtracted and the other is added.