Parse, Format, and Epochs
TZ_FORMAT
Formats a date/time in a zone using presets or Luxon tokens.
Syntax
=TZ_FORMAT(datetime, zone, format, [locale])Parameters
NameTypeDescription
Name
datetimeTypetext, number, date, or range
DescriptionThe date/time interpreted in zone.
Name
zoneTypetext
DescriptionIANA time zone.
Name
formatTypetext
DescriptionPreset such as "iso" or a Luxon token pattern.
Name
locale?Typetext
DescriptionLocale code such as "es". Defaults to "en".
Returns
Formatted text. Range input spills formatted values.
Example
=TZ_FORMAT("2026-06-01 09:00", "Europe/Madrid", "cccc d LLLL", "es")Result: lunes 1 junio