Methodology

This page explains exactly how the clocks and converters on UTCNow work, so you can judge how far to trust them.

Source of the current time

The current time comes from your device’s system clock via JavaScript (Date.now()). UTCNow does not contact any time server and does not claim atomic-clock synchronization. If your device synchronizes with network time (the default on most phones and computers), the display is typically within a fraction of a second of UTC.

Drift-free ticking

Every update recalculates the displayed time from the current timestamp; nothing is incremented. Updates are scheduled for just after each whole second. When a tab returns from the background, the device wakes from sleep, or the system clock changes, the display is recalculated immediately.

Time zone rules

Offsets for named time zones (for example America/New_York) come from the IANA time zone database built into your browser through the Intl.DateTimeFormat API. Fixed abbreviations such as EST or CEST use a constant offset. Results for future dates assume today’s rules; governments may change them.

Daylight saving edge cases

When you enter a local time that occurs twice (clocks going back), the converter shows both possible UTC instants and asks you to choose. When a local time does not exist (clocks going forward), it says so and shows the nearest valid time. It never chooses silently.

Parsing

Timestamps are parsed with explicit rules for ISO 8601, RFC 3339, Unix time and common log formats. UTCNow never relies on the browser’s lenient Date.parse for non-standard strings, so results are the same in every browser.

Leap seconds and range

Like Unix time, UTCNow counts every day as 86,400 seconds and does not display leap seconds. Converters support dates from 1970 to 2100; historical time zone data before 1970 is less reliable.

Offset and country lists

Lists of places using an offset are computed at build time from the time zone data for the current year and refreshed in your browser where shown. They cover representative zones, not every administrative subdivision.

Testing

The time engine is covered by automated tests for midnight and year boundaries, leap years, half- and quarter-hour offsets, UTC+14 and UTC−12, daylight saving transitions in both hemispheres, ambiguous and nonexistent local times, negative Unix timestamps and parser edge cases.

References

  • BIPM – International Bureau of Weights and Measures (UTC, TAI, Circular T).
  • IERS – International Earth Rotation and Reference Systems Service (leap seconds, Bulletin C).
  • IANA Time Zone Database (tz).
  • NIST Time and Frequency Division.
  • ISO 8601 (date and time representation) and IETF RFC 3339 (date and time on the internet).