What is UTC, and how do time zones work?
Short answer
UTC (Coordinated Universal Time) is the worldwide time standard. Every time zone is described as an offset from UTC, such as UTC+1 or UTC-5. Local clocks are just UTC shifted by that offset, sometimes adjusted again for daylight saving time.
One reference, many offsets
Rather than every region keeping its own independent clock, the world agrees on one reference, UTC, and defines local times as offsets from it. New York in winter is UTC-5; Berlin is UTC+1. Convert both to UTC and you can compare them directly.
12:00 UTC = 07:00 in New York (UTC-5)
12:00 UTC = 13:00 in Berlin (UTC+1)Daylight saving complicates offsets
Many regions shift their clocks forward in summer, so a zone's offset is not fixed all year. New York is UTC-5 in winter but UTC-4 in summer. This is why storing a time zone name, not just an offset, matters.