DateTimeFormat Example.
Today's date and time are {ts '2024-11-21 00:20:01'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 21-Nov-2024 00:20:01
- 2024.11.21 AD 'A' 00:20:01 EST
- Thu, Nov 21, '24
- 12:20 AM
- 12 oc403oc24' AM, Eastern Standard Time
- 0:20 AM, EST
- 02024.November.21 AD 12:20 AM
- Thu, 21 Nov 2024 00:20:01 -0500
- 241121052001+0000