GMT (Greenwich Mean Time)
gmt
The mean solar time at the Royal Observatory in Greenwich, London, historically used as the international time reference.
utc
UTC (Coordinated Universal Time) is the primary time standard used worldwide to regulate clocks and time. It is the successor to GMT and is maintained by the International Bureau of Weights and Measures (BIPM) using a network of highly precise atomic clocks distributed across the globe.
UTC is based on International Atomic Time (TAI) but incorporates leap seconds to remain within 0.9 seconds of mean solar time at the Prime Meridian. This ensures that UTC stays aligned with the Earth's rotation while maintaining the precision of atomic timekeeping.
All time zones are defined as offsets from UTC, ranging from UTC-12 to UTC+14. Aviation, computing, scientific research, and international communications all rely on UTC as their reference standard to avoid ambiguity across regions.
Was this article helpful?
Learn how time zones divide the world into regions with different local times, how UTC offsets work, and why some zones use half-hour increments.
Calculating the time difference between two cities sounds trivial, but UTC offsets, half-hour zones, daylight saving, and the International Date Line all complicate it. This article walks through a reliable step-by-step approach with worked examples for the cases that trip people up.
The cardinal rule of timestamp handling in software is store in UTC, display in local. This article covers the rationale, ISO 8601 formatting, JavaScript and Python patterns, the most common bugs, and a testing strategy that catches DST and date-line issues before they reach production.