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.
iso-8601
ISO 8601 is an international standard published by the International Organization for Standardization (ISO) that defines unambiguous representations of dates and times. The most common format is YYYY-MM-DDTHH:mm:ssZ, where T separates the date from the time and Z indicates UTC. This eliminates confusion caused by regional date formats like MM/DD/YYYY vs. DD/MM/YYYY.
The standard covers dates (2026-05-10), times (14:30:00), combined date-times (2026-05-10T14:30:00Z), durations (P1Y2M3D for 1 year, 2 months, 3 days), and intervals (start/end). Time zone offsets are expressed as +HH:mm or -HH:mm, with Z as shorthand for +00:00 (UTC).
ISO 8601 is the de facto standard for date-time representation in APIs, databases, and configuration files. JSON does not define a date type, so ISO 8601 strings are the universally accepted convention. JavaScript's Date.toISOString(), Python's datetime.isoformat(), and most database TIMESTAMP types all produce ISO 8601-compliant output.
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.
timestamp
A timestamp is a recorded value representing the exact date and time an event occurred, expressed in formats such as Unix time (epoch seconds) or ISO 8601 strings.
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.
Choosing how to display time looks simple but involves locale conventions, the AM/PM ambiguity at midnight and noon, ISO 8601 versus human-friendly forms, and relative time strings. This article guides UI designers and developers through the design decisions that matter most.
Building a timezone conversion API sounds simple but quickly hits IANA database management, DST gap handling, error semantics, and caching strategy. This article covers the design decisions that determine whether the endpoint stays reliable as policies and tzdata evolve.