Overview
Timezone Converter converts time between any world timezones using the browser's native Intl API.
🔗 https://devnestio.pages.dev/timezone-converter/
Features
- Pick any date/time and source timezone
- Add unlimited target zones to the comparison table
- Shows UTC offset per zone (accounts for DST automatically)
- ISO 8601 UTC output for copy-pasting into code
- "Now" button → current local time
- Full IANA timezone database via
Intl.supportedValuesOf('timeZone')
No library needed
Everything uses native browser APIs:
// Format a UTC Date in a target timezone
const timeFmt = new Intl.DateTimeFormat('en-US', {
timeZone: tz,
hour: '2-digit', minute: '2-digit', second: '2-digit', hour12: false
});
// Get offset label e.g. "GMT+9"
const parts = new Intl.DateTimeFormat('en', {
timeZone: tz, timeZoneName: 'shortOffset', hour: 'numeric'
}).formatToParts(date);
DST handling is automatic — the Intl API always applies the correct offset for the given moment in time.
Top comments (0)