DateTimeFormat Example
Today's date and time are {ts '2026-05-12 15:36:55'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 12-May-2026 15:36:55
- 2026.05.12 AD 'P' 15:36:55 EDT
- Tue, May 12, '26
- 3:36 PM
- 03 oc191oc15' PM, Eastern Daylight Time
- 3:36 PM, EDT
- 02026.May.12 AD 03:36 PM
- Tue, 12 May 2026 15:36:55 -0400
- 260512193655+0000