UTC (Coordinated Universal Time)
utc
The primary time standard by which the world regulates clocks and time, serving as the basis for civil timekeeping globally.
utc offset
A UTC offset indicates how many hours and minutes a location's standard time is ahead of or behind UTC. A positive value means the location is ahead of UTC (generally the Eastern Hemisphere), while a negative value means it is behind (generally the Western Hemisphere). Japan is +09:00, India is +05:30, and New York is -05:00 in winter or -04:00 in summer.
UTC offsets span from -12:00 (Baker Island) to +14:00 (Kiribati's Line Islands). While most offsets are whole hours, 30-minute offsets exist (India at +5:30, Iran at +3:30) as well as 45-minute offsets (Nepal at +5:45, Chatham Islands at +12:45). In total, approximately 40 unique offsets are in use worldwide.
A UTC offset and a timezone are not the same thing. An offset is a static value representing the time difference at a specific instant, while a timezone (identified by its IANA name) is a dynamic concept that includes daylight saving transition rules. For instance, America/New_York switches between -05:00 in winter and -04:00 in summer. The correct practice is to store offset-aware timestamps for recorded events and to use IANA timezone names for future scheduling.
Was this article helpful?
utc
The primary time standard by which the world regulates clocks and time, serving as the basis for civil timekeeping globally.
timezone
A region of the globe that observes a uniform standard time for legal, commercial, and social purposes.
dst
The practice of advancing clocks by one hour during warmer months to extend evening daylight.
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.