DateTimeFormat Example
Today's date and time are {ts '2026-10-16 18:52:10'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 16-Oct-2026 18:52:10
- 2026.10.16 AD 'P' 18:52:10 EDT
- Fri, Oct 16, '26
- 6:52 PM
- 06 oc941oc18' PM, Eastern Daylight Time
- 6:52 PM, EDT
- 02026.October.16 AD 06:52 PM
- Fri, 16 Oct 2026 18:52:10 -0400
- 261016225210+0000