DateTimeFormat Example
Today's date and time are {ts '2026-05-10 06:28:57'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 10-May-2026 06:28:57
- 2026.05.10 AD 'A' 06:28:57 EDT
- Sun, May 10, '26
- 6:28 AM
- 06 oc717oc6' AM, Eastern Daylight Time
- 6:28 AM, EDT
- 02026.May.10 AD 06:28 AM
- Sun, 10 May 2026 06:28:57 -0400
- 260510102857+0000