Unix-like systems internally track time as a Unix timestamp — an absolute count of seconds since 1970-01-01 00:00:00 UTC — which is independent of location. Whenever this timestamp needs to be presented to a user in a readable local format (for example, in command output, log entries, or file listings), the operating system converts it based on the currently configured time zone. If the time zone setting is wrong, this conversion will produce an incorrect local time even though the stored timestamp itself remains accurate. This is documented behavior in Linux time-handling references (e.g., timedatectl, /etc/localtime), which describe time zone data as the mechanism used to translate UTC-based timestamps into local time.
Community Discussion