Tools/timezone/zone_info

timezone/zone_info

UTC offset, DST state, and abbreviation for an IANA time zone, now or on a given date.

Free / no pricing configured

What it does

Returns the UTC offset, whether daylight saving is in effect, and the zone abbreviation for a time zone, either right now or on a specific date.

Primary use cases

  • Checking a zone's offset on a particular date (offsets shift across DST boundaries).
  • Determining a zone abbreviation (e.g. EST vs EDT) for a given day.
  • Validating offset assumptions before scheduling.

Good to know

timezone is an IANA name. Pass date (YYYY-MM-DD) to query the offset and DST state on that day; omit it for the current instant. Because offsets change with daylight saving, the answer is date-dependent. Computed locally.

Parameters

datestringoptional

Optional date (YYYY-MM-DD) to query the offset/DST state on. Defaults to now.

timezonestringrequired

IANA time-zone name (e.g. America/New_York, Europe/London).

timezone/zone_info — Faro