DateTimeFormat Example
Today's date and time are {ts '2026-08-24 17:41:49'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 24-Aug-2026 17:41:49
- 2026.08.24 AD 'P' 17:41:49 EDT
- Mon, Aug 24, '26
- 5:41 PM
- 05 oc338oc17' PM, Eastern Daylight Time
- 5:41 PM, EDT
- 02026.August.24 AD 05:41 PM
- Mon, 24 Aug 2026 17:41:49 -0400
- 260824214149+0000