DateTimeFormat Example
Today's date and time are {ts '2026-05-05 06:48:12'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 05-May-2026 06:48:12
- 2026.05.05 AD 'A' 06:48:12 EDT
- Tue, May 5, '26
- 6:48 AM
- 06 oc475oc6' AM, Eastern Daylight Time
- 6:48 AM, EDT
- 02026.May.05 AD 06:48 AM
- Tue, 5 May 2026 06:48:12 -0400
- 260505104812+0000