DateTimeFormat Example
Today's date and time are {ts '2026-10-13 17:47:13'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 13-Oct-2026 17:47:13
- 2026.10.13 AD 'P' 17:47:13 EDT
- Tue, Oct 13, '26
- 5:47 PM
- 05 oc194oc17' PM, Eastern Daylight Time
- 5:47 PM, EDT
- 02026.October.13 AD 05:47 PM
- Tue, 13 Oct 2026 17:47:13 -0400
- 261013214713+0000