🌐 Timezone Database & Code Generator
Select any country or timezone — get ready-to-paste code snippets for Arduino, ESP32, Raspberry Pi, Python, Node.js, PHP, Java, Swift, Flutter, Windows, Linux and macOS.
Electronics
400+ Timezones
14 Platforms
Timezones: 400+
Countries: 195
UTC Offsets: 38
Platforms: 14
Selected: —
Select Timezone
Quick picks
Timezone Format Guide
IANA / Olson format (e.g. Asia/Kolkata)
Used by: Linux, macOS, Python, PHP, Java, Node.js, Arduino NTP libraries
POSIX TZ string (e.g. IST-5:30)
Used by: ESP32/ESP8266
UTC offset (e.g. +05:30)
Used by: Arduino NTP (seconds offset), JSON timestamps, APIs
Windows timezone name (e.g. India Standard Time)
Used by: Windows
Used by: Linux, macOS, Python, PHP, Java, Node.js, Arduino NTP libraries
POSIX TZ string (e.g. IST-5:30)
Used by: ESP32/ESP8266
configTime(), C/C++ setenv("TZ")UTC offset (e.g. +05:30)
Used by: Arduino NTP (seconds offset), JSON timestamps, APIs
Windows timezone name (e.g. India Standard Time)
Used by: Windows
tzutil, .NET, PowerShell
--:--:--
Select a timezone
—
IANA Name
—
UTC Offset
—
POSIX TZ String
—
Offset (seconds)
—
DST Active
—
Windows TZ Name
—
Abbreviation
—
Linux/macOS zoneinfo
—
Code Snippets — Select Platform
← Select a timezone to generate code snippets
Popular Timezones Quick Reference
| Country / City | IANA Name | UTC Offset | POSIX String | Abbr |
|---|
Timezone data based on IANA Time Zone Database. POSIX strings and offsets are indicative — always verify DST rules for your region before deployment.