timezones

Two zones, one instant

Pick a moment and two zones. See the wall clock in each, the offset actually in effect, whether daylight saving applies, and the exact difference between them.

UTC: —
—

—

—

—

// a timestamp has no timezone

An epoch value is an absolute instant. Only the labels change between zones — noon in Tokyo and noon in New York are different instants, but 1700000000 is the same moment everywhere.

// daylight saving is not a constant

The difference between two zones depends on the date. London and New York are five hours apart in winter and four in summer, because they switch on different dates.

reading the cards

What each line means

The big number is the wall clock in that zone at the chosen instant. Below it, the offset tells you how far that zone is from UTC at that exact moment — not its standard offset, which may differ during daylight saving.

The offset is computed from the browser's IANA timezone data, so historical rules apply too: pick a date in 1995 and the offsets will be the ones that were in force then.

The difference line compares the two offsets. Switching both zones to the same value should always read “same offset”, and the two wall clocks should then be identical.

advertisement