How the live time display works
The page reads the current date and time from your browser's built-in Date object, which reflects your operating system's clock. A JavaScript interval function fires every 500 milliseconds — twice per second — to refresh the display. The half-second refresh rate ensures the seconds digit never appears to skip a beat even if the interval fires slightly late due to browser load.
The time zone identifier (for example, "America/New_York" or "Europe/London") is read directly from the browser using the Intl.DateTimeFormat API. The UTC offset (for example, GMT−5:00) is calculated from the difference between local time and UTC. Daylight saving transitions are handled automatically by the operating system — no manual adjustment is needed.
UTC offset (hours) = Local time − UTC time
A positive offset means east of UTC; negative means west.