Skip to content

UTC, GMT and time zones explained for developers

Blog / Published 

Most time bugs are not about arithmetic. They come from mixing up which clock a value is written in. Two terms cause most of the confusion: UTC and GMT. In everyday use they mean almost the same thing, but they are not identical, and the difference matters when you store or compare timestamps.

UTC is the reference, GMT is a time zone

UTC, Coordinated Universal Time, is the standard that computers and international systems count from. It does not change for daylight saving time and it is not tied to a city. GMT, Greenwich Mean Time, is a time zone name used in the United Kingdom in winter. In practice GMT and UTC agree to the second, so most software treats both as the offset +00:00. The difference lies in the definition.

Offsets and why they move

A local time is a UTC time plus an offset. Central European Time is UTC+01:00 in winter and UTC+02:00 in summer, because it follows daylight saving rules. A timestamp written as 2026-11-29T10:00:00+01:00 names one exact instant, which is 09:00:00Z in UTC. The Z suffix means zero offset.

Where timestamps go wrong

Converting a time zone

To see what a UTC timestamp means locally, the time zone converter shows one instant across several zones, and it runs in your browser. For a raw number, the Unix timestamp converter reads seconds or milliseconds and prints the date it represents.

A rule that prevents most bugs

Store every instant in UTC with an explicit offset, and convert to a local zone only where a person reads it. When a test fails only in summer or only in one country, the cause is usually a value that was never converted, or was converted twice.

Written by Ján Turský

Creator of TextArray — building free, privacy-first tools that run entirely in your browser.