
Time zone converter
Calculate time zone converter with clear inputs and assumptions.
Your dates and times stay in your browser and are not stored.
Method and assumptions
Method version 1.0.0 · Updated
Calculate
Formula: Calculate time zone converter with clear inputs and assumptions.
Calculate time zone converter with clear inputs and assumptions.
- date
- Date with time zone
- fromZone
- Source time zone (IANA)
- toZone
- Target time zone (IANA)
Results are estimates where noted and depend on the entered assumptions.
Calculate with code
These short examples use the same inputs and core calculation as this tool. Adapt validation and formatting to your application.
JavaScript
const instant = new Date("2026-01-01T12:00:00Z");
console.log(new Intl.DateTimeFormat("en", {timeZone:"America/New_York", hour:"2-digit", minute:"2-digit"}).format(instant)); // 07:00 (winter)TypeScript
const instant = new Date("2026-01-01T12:00:00Z");
const local: string = new Intl.DateTimeFormat("en", {timeZone:"America/New_York", hour:"2-digit", minute:"2-digit"}).format(instant);
console.log(local); // 07:00Python
from datetime import datetime
from zoneinfo import ZoneInfo
print(datetime(2026,1,1,12,tzinfo=ZoneInfo("UTC")).astimezone(ZoneInfo("America/New_York")))Java
var instant = java.time.Instant.parse("2026-01-01T12:00:00Z");
System.out.println(instant.atZone(java.time.ZoneId.of("America/New_York")));C#
var instant = DateTimeOffset.Parse("2026-01-01T12:00:00Z");
var zone = TimeZoneInfo.FindSystemTimeZoneById("America/New_York");
Console.WriteLine(TimeZoneInfo.ConvertTime(instant, zone));