Skip to content

Archive

Time Zones

2 articles
Tech Updated 15 Sep 2026 7 min read

How Automatic Time Zone Works on Your Phone

Travel to another region and your phone will usually change its clock without you doing anything. That can make automatic time seem simple: the phone notices where it is and sets the clock. The real process has an important extra layer. A device needs to know both what time it is and which local time zone should be used to display that time. Those are related questions, but they are not the same question.

Python 08 Sep 2026 8 min read

Handle Time Zones Correctly with Python zoneinfo

Time-zone code becomes difficult when an application needs more than a fixed UTC offset. Civil-time rules change, daylight-saving transitions can repeat or skip local clock readings, and the rules for a place are not captured by labels such as UTC+7 or UTC-5. Python 3.9 added zoneinfo to the standard library to provide IANA time-zone support through the familiar datetime API. It is the right starting point when an application needs rules for named zones such as Asia/Jakarta, Europe/Berlin, or America/New_York.