Time Functions
timezoneOffset(timezone)
return timezone offset in seconds against the UTC timezone
printf("America/New_York offset: %d", timezoneOffset("America/New_York"))
printf("Europe/Berlin offset: %d", timezoneOffset("Europe/Berlin"))
// America/New_York offset: -14400
// Europe/Berlin offset: 7200
Updated 6 months ago