DateTimeFormat Example
Today's date and time are {ts '2026-05-23 15:01:57'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 23-May-2026 15:01:57
- 2026.05.23 AD 'P' 15:01:57 EDT
- Sat, May 23, '26
- 3:01 PM
- 03 oc150oc15' PM, Eastern Daylight Time
- 3:01 PM, EDT
- 02026.May.23 AD 03:01 PM
- Sat, 23 May 2026 15:01:57 -0400
- 260523190157+0000