DateTimeFormat Example.
Today's date and time are {ts '2025-02-07 02:11:59'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 07-Feb-2025 02:11:59
- 2025.02.07 AD 'A' 02:11:59 EST
- Fri, Feb 7, '25
- 2:11 AM
- 02 oc360oc2' AM, Eastern Standard Time
- 2:11 AM, EST
- 02025.February.07 AD 02:11 AM
- Fri, 7 Feb 2025 02:11:59 -0500
- 250207071159+0000