DateTimeFormat Example
Today's date and time are {ts '2026-05-31 12:51:19'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 31-May-2026 12:51:19
- 2026.05.31 AD 'P' 12:51:19 EDT
- Sun, May 31, '26
- 12:51 PM
- 12 oc631oc12' PM, Eastern Daylight Time
- 0:51 PM, EDT
- 02026.May.31 AD 12:51 PM
- Sun, 31 May 2026 12:51:19 -0400
- 260531165119+0000