Custom Date & Time Format Strings
- 29 Nov 2022
- 1 Minute to read
-
Print
-
DarkLight
Custom Date & Time Format Strings
- Updated on 29 Nov 2022
- 1 Minute to read
-
Print
-
DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
DateTime objects within Decisions can be formatted as a string using the Parse Date With Format and Get Formatted Date steps.
The following table provides example formats and the expected output for a date when used with the above steps.
Some of the examples contain strings with characters reserved for formatting, such as the 'M' in GMT. These strings will need to be encapsulated with double/single quotes.
For more information, please visit the following article Custom Date and Time Format Strings.
For more information, please visit the following article Custom Date and Time Format Strings.
Format | Output |
---|---|
MM/dd/yyyy | 03/29/2021 |
dddd, dd MMMM yyyy | Monday, 29 March 2021 |
dddd, dd MMMM yyyy HH:mm | Monday, 29 May 2021 05:50 |
dddd, dd MMMM yyyy HH:mm tt | |
dddd, dd MMMM yyyy HH:mm:ss | Monday, 29 March 2021 05:50:06 |
MM/dd/yyyy HH:mm | 03/29/2021 05:50 |
MM/dd/yyyy hh:mm tt | 03/29/2021 05:50 AM |
MM/dd/yyyy H:mm | 03/29/2021 5:50 |
MM/dd/yyyy h:mm tt | 03/29/2021 5:50 AM |
MM/dd/yyyy HH:mm:ss | 03/29/2021 05:50:06 |
MMMM dd | March 29 |
yyyy’-‘MM’-‘dd’T’HH’:’mm’:’ss.fffffffK | 2021-03-29T05:50:06.7199222-04:00 |
ddd, dd MMM yyy HH’:’mm’:’ss ‘GMT’ | Mon, 29 March 2021 05:50:06 GMT |
yyyy’-‘MM’-‘dd’T’HH’:’mm’:’ss | 2021-03-29T05:50:06 |
HH:mm | 05:50 |
hh:mm tt | 05:50 AM |
HH:mm | 5:50 |
h:mm tt | 5:50 AM |
HH:mm:ss | 05:50:06 |
yyyy MMMM | 2021 March |
Was this article helpful?