Step - at_zone

at_zone ยท category: Dates and times

Places a date-time in a time zone: an IANA name ("Europe/Berlin") is kept in the result, a UTC offset ("+02:00") gives the offset only.

Forms

at_zone(arg1: string)

Example

g.inject(datetime("2023-08-02T12:00Z")).at_zone("Europe/Berlin").next().timezone   // Europe/Berlin