DateTimeFormat Example.
Today's date and time are {ts '2024-04-17 16:38:28'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 17-Apr-2024 16:38:28
- 2024.04.17 AD 'P' 16:38:28 EDT
- Wed, Apr 17, '24
- 4:38 PM
- 04 oc381oc16' PM, Eastern Daylight Time
- 4:38 PM, EDT
- 02024.April.17 AD 04:38 PM
- Wed, 17 Apr 2024 16:38:28 -0400
- 240417203828+0000