Flow action
Each run of Format Date Time in Time Zone Offset formats one Date/Time into text.
Inputs
Section titled “Inputs”| Input | When it is required |
|---|---|
| Date Time | Always. A blank value returns blank text and does not fault. |
| Time Zone Offset | Always. A UTC offset or a time zone ID. See Offsets and time zones. |
| Date Time Format | Optional. A Java date/time pattern. Blank uses yyyy-MM-dd HH:mm:ss. |
The pattern
Section titled “The pattern”Common letters:
| Letters | Meaning |
|---|---|
yyyy | Year |
M or MM | Month |
d or dd | Day of the month |
H or HH | Hour, 0–23 |
h or hh | Hour, 1–12 |
mm | Minutes |
ss | Seconds |
a | AM 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.
Output
Section titled “Output”| Output | Use |
|---|---|
| Formatted Date Time | The 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.