Data and Math
vzoneinfo
Shows a moment in time on the local clock of a named time zone.
Released v1.0.0 · 2026-09-28use "stdlib/zoneinfo.ven"
Built on Venutian's own IANA time zone aware formatting builtin. The underlying number of seconds since the epoch is always treated as UTC, and the module's job is only to format that same instant for a chosen zone.
print format_in_zone(1700000000, "America/New_York", "%Y-%m-%d %H:%M:%S")
Reference (7 functions)
API reference
format_in_zone(epoch_seconds, zone_name, pattern)
Formats instant epoch_seconds as it reads on the wall clock in IANA zone zone_name.
format_in_zone(1700000000, "America/New_York", "%Y-%m-%d %H:%M:%S")time_in_zone(epoch_seconds, zone_name)
epoch_seconds as a "YYYY-MM-DD HH:MM:SS" local wall-clock Text in zone_name.
time_in_zone(1700000000, "America/New_York")utc_offset_text(epoch_seconds, zone_name)
utc_offset_text(1700000000, "Asia/Kolkata")zone_abbreviation(epoch_seconds, zone_name)
zone_abbreviation(1700000000, "America/New_York")utc_offset_minutes(epoch_seconds, zone_name)
The UTC offset zone zone_name observes at epoch_seconds, as a signed Integer number of minutes.
utc_offset_minutes(1700000000, "Asia/Kolkata")minutes_ahead_of(epoch_seconds, zone_a, zone_b)
How many minutes AHEAD of zone_b zone zone_a is at instant epoch_seconds.
minutes_ahead_of(1700000000, "Asia/Kolkata", "Asia/Kolkata")same_wall_clock_date(epoch_seconds, zone_a, zone_b)
True when instant epoch_seconds falls on the same local calendar date in both zone_a and zone_b.
same_wall_clock_date(1700000000, "America/New_York", "Asia/Kolkata")