DateTimeFormat Example
Today's date and time are {ts '2025-05-17 18:28:20'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 17-May-2025 18:28:20
- 2025.05.17 AD 'P' 18:28:20 EDT
- Sat, May 17, '25
- 6:28 PM
- 06 oc896oc18' PM, Eastern Daylight Time
- 6:28 PM, EDT
- 02025.May.17 AD 06:28 PM
- Sat, 17 May 2025 18:28:20 -0400
- 250517222820+0000