Software & OS

UTC vs GMT: Same Clock Time, Different Things

UTC and GMT show the same clock time, but UTC is the modern atomic time standard that the world's clocks are set from, while GMT is a time zone (UTC+0) and, historically, mean solar time at Greenwich. For scheduling, logs and code, use UTC; use GMT only when you mean the UK's winter time zone.

UTC vs GMT at a glance

UTCGMT
What it isTime standard, the reference for all time zonesTime zone (UTC+0); originally mean solar time at Greenwich
Based onAtomic clocks (TAI), adjusted with leap secondsEarth's rotation, as observed from Greenwich
Offset from UTC00 on the clock; under a second in astronomical terms
Daylight saving timeNeverNever; the UK switches from GMT to BST instead
Where you see the nameStandards and software (time zones are written as UTC offsets)UK winter time; legacy zone names and HTTP date headers

What GMT is

Greenwich Mean Time is time on the Greenwich meridian, the line through the Royal Observatory in Greenwich, London, from which longitude is measured. It comes from astronomy: it was based on Earth's rotation, as measured from Greenwich, long before atomic clocks existed. The IANA time zone documentation lists GMT as one of a family of "UT" (Universal Time) standards, alongside UTC and UT1, and the Royal Observatory still keeps most of its historic clocks on GMT all year round.

Today GMT survives mostly as the name of the time zone the UK uses in winter. UK law still uses it: section 9 of the Interpretation Act 1978 says that an expression of time in an Act means "Greenwich mean time" unless stated otherwise, subject to the Summer Time Act 1972.

What UTC is

Coordinated Universal Time is the time scale that civil time zones are defined against. NIST puts it this way: UTC "is based on International Atomic Time (TAI), but it is adjusted by leap seconds". Atomic clocks tick at a constant rate, while Earth's rotation is slightly irregular. Leap seconds keep the two together: NIST says they are used "to keep the difference between UT1 and UTC to within ±0.9 s", where UT1 is the time scale that follows Earth's actual rotation.

As of October 2026, TAI is 37 seconds ahead of UTC, and the most recent leap second, according to NIST's table, was inserted on 31 December 2016.

So how big is the difference?

On any clock, zero: a GMT clock and a UTC clock read the same hours, minutes and seconds. The difference only exists if you take GMT in its astronomical sense, as time from Earth's rotation. Then it is the gap that leap seconds exist to cap. The Royal Observatory's own explainer calls UTC "the modern equivalent of Greenwich Mean Time" and says it is "never more than half a second different from it". For anything short of astronomy or satellite navigation, treat them as equal on the clock and different in meaning.

The BST trap: London isn't always on GMT

The most common real-world mistake is assuming UK time equals GMT all year. From the last Sunday of March until the clocks go back in October, the UK uses British Summer Time, which the Royal Observatory describes as "one hour in advance of GMT". Python's zoneinfo shows the switch:

from datetime import datetime, timezone
from zoneinfo import ZoneInfo

for d in [datetime(2026, 1, 15, 12, tzinfo=timezone.utc),
          datetime(2026, 7, 15, 12, tzinfo=timezone.utc)]:
    print(d.astimezone(ZoneInfo("Europe/London")).strftime("%H:%M %Z %z"))

Output (Python 3.12.2 with the tzdata 2026.5 package):

12:00 GMT +0000
13:00 BST +0100

A meeting invite that says "14:00 GMT" in July is ambiguous: the sender almost certainly meant London time, which is 14:00 BST, or 13:00 UTC. Write "14:00 UTC" or "14:00 London time" instead. Python's documentation notes that Windows has no IANA time zone database of its own, so on Windows install the first-party tzdata package (pip install tzdata) or ZoneInfo raises ZoneInfoNotFoundError.

Where you still see "GMT" in computing

HTTP is the best-known example. RFC 9110 requires dates in headers such as Date and Last-Modified to be written like Sun, 06 Nov 1994 08:49:37 GMT. The standard is explicit that this means UTC: "An HTTP-date value represents time as an instance of Coordinated Universal Time (UTC)", with "GMT" used as "a predecessor of the UTC name". A real response header from 26 October 2026:

Date: Mon, 26 Oct 2026 17:40:49 GMT

The tz database also keeps GMT and Etc/GMT as names for a zero-offset zone, mostly for older software. They behave exactly like UTC.

The Etc/GMT sign trap

Fixed-offset zones named Etc/GMT+N use the POSIX convention, where the sign means hours west of Greenwich. The IANA documentation explains that in POSIX TZ strings, the offset "specifies the offset west of UT". The result surprises almost everyone:

Etc/GMT+5  ->  07:00 -05  (-0500)   when UTC is 12:00
Etc/GMT-3  ->  15:00 +03  (+0300)   when UTC is 12:00

That output is from Python's zoneinfo. If you need New York time, use America/New_York, which also handles daylight saving time; if you need a fixed offset, write it explicitly as -05:00.

Which one should you use?

  • Servers, logs, databases, APIs: store and transmit times in UTC, ideally as ISO 8601 with a Z or offset (2026-11-19T09:00:00Z) or as a Unix timestamp, which is UTC by definition.
  • Showing times to people: convert from UTC to the reader's named time zone at display time.
  • Writing a time for an international audience: say UTC. Say GMT only for UK winter time, and expect some readers to misread it in summer.

Will leap seconds go away?

Probably, in effect. In 2022 the General Conference on Weights and Measures (CGPM) decided that "the maximum value for the difference (UT1-UTC) will be increased in, or before, 2035", and asked for a new limit that would ensure "the continuity of UTC for at least a century". Once that happens, UTC and Earth-rotation time, and so UTC and astronomical GMT, will be allowed to drift further apart than today's 0.9 seconds. Your clocks won't notice.

Frequently asked questions

Is GMT the same as UTC?
On a clock, yes: GMT and UTC show the same hours and minutes, and the tz database treats the GMT zone as UTC+0. Technically they differ. UTC is an atomic time standard adjusted by leap seconds, while GMT is historically time based on Earth's rotation at Greenwich and today mostly the name of a time zone. The Royal Observatory says UTC is never more than half a second different from GMT.
Is London on GMT or UTC?
London uses GMT (UTC+0) in winter and British Summer Time, one hour ahead of GMT (UTC+1), in summer. So in July, London is not on GMT. Software should use the Europe/London zone, which switches automatically, rather than a fixed GMT or UTC offset.
Is UTC a time zone?
Strictly, UTC is a time standard, and time zones are defined as offsets from it, such as UTC+1 or UTC-5. In practice, operating systems and the tz database also offer a zone named UTC with a zero offset and no daylight saving time, which is the usual choice for servers and logs.
Why is Etc/GMT+5 five hours behind UTC?
The Etc/GMT zones follow the POSIX convention, where the sign means hours west of Greenwich. So Etc/GMT+5 is UTC-5 and Etc/GMT-3 is UTC+3. Running a conversion in Python's zoneinfo shows Etc/GMT+5 with offset -0500. To avoid the confusion, use a named zone such as America/New_York or an explicit UTC offset.

Sources