DateTimeFormat Example
Today's date and time are {ts '2026-05-20 03:43:32'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 20-May-2026 03:43:32
- 2026.05.20 AD 'A' 03:43:32 EDT
- Wed, May 20, '26
- 3:43 AM
- 03 oc15oc3' AM, Eastern Daylight Time
- 3:43 AM, EDT
- 02026.May.20 AD 03:43 AM
- Wed, 20 May 2026 03:43:32 -0400
- 260520074332+0000