DateTimeFormat Example
Today's date and time are {ts '2026-05-13 06:48:47'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 13-May-2026 06:48:47
- 2026.05.13 AD 'A' 06:48:47 EDT
- Wed, May 13, '26
- 6:48 AM
- 06 oc89oc6' AM, Eastern Daylight Time
- 6:48 AM, EDT
- 02026.May.13 AD 06:48 AM
- Wed, 13 May 2026 06:48:47 -0400
- 260513104847+0000