How to read the output
Each row shows the zone name, the local date and time, and the offset from UTC. An offset of +08:00 means the local clock is eight hours ahead of UTC. During daylight saving, the offset changes — America/New_York is -05:00 in winter and -04:00 in summer.
Zone abbreviations such as CST are ambiguous (China Standard Time, Central Standard Time, Cuba Standard Time). Prefer IANA identifiers like Asia/Shanghai or America/Chicago in configuration.
Why IANA names matter
Offsets alone cannot handle daylight saving or historical rule changes. America/New_York knows that DST starts on the second Sunday in March and ends on the first Sunday in November; a fixed -05:00 does not. Store IANA names, not offsets, unless the value is explicitly a fixed offset.
Some zones change their rules with little notice. Keeping the tz database updated is part of deploying a timezone-aware service.
Common conversions
| Zone | Winter offset | Summer offset | Notes |
|---|---|---|---|
| UTC | +00:00 | +00:00 | No DST, the reference |
| Asia/Shanghai | +08:00 | +08:00 | No DST since 1991 |
| Asia/Kolkata | +05:30 | +05:30 | Half-hour offset |
| Europe/London | +00:00 | +01:00 | BST in summer |
| America/New_York | -05:00 | -04:00 | US Eastern |
| America/Los_Angeles | -08:00 | -07:00 | US Pacific |