DateTimeFormat Example
Today's date and time are {ts '2026-05-27 13:39:38'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 27-May-2026 13:39:38
- 2026.05.27 AD 'P' 13:39:38 EDT
- Wed, May 27, '26
- 1:39 PM
- 01 oc761oc13' PM, Eastern Daylight Time
- 1:39 PM, EDT
- 02026.May.27 AD 01:39 PM
- Wed, 27 May 2026 13:39:38 -0400
- 260527173938+0000