Skip to content

Flow action

Each run of Format Date Time in Time Zone Offset formats one Date/Time into text.

InputWhen it is required
Date TimeAlways. A blank value returns blank text and does not fault.
Time Zone OffsetAlways. A UTC offset or a time zone ID. See Offsets and time zones.
Date Time FormatOptional. A Java date/time pattern. Blank uses yyyy-MM-dd HH:mm:ss.

Common letters:

LettersMeaning
yyyyYear
M or MMMonth
d or ddDay of the month
H or HHHour, 0–23
h or hhHour, 1–12
mmMinutes
ssSeconds
aAM or PM

M/d/yyyy h:mm a is a clock time with a date. Month names and the AM/PM marker follow the running user’s language.

OutputUse
Formatted Date TimeThe text to put in the email, the screen, or the file name. Blank when Date Time is blank.

A blank or unrecognized Time Zone Offset faults the interview. Connect a fault path when that value comes from a field or a formula.