DateTimeFormat Example
Today's date and time are {ts '2025-02-18 18:50:58'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 18-Feb-2025 18:50:58
- 2025.02.18 AD 'P' 18:50:58 EST
- Tue, Feb 18, '25
- 6:50 PM
- 06 oc496oc18' PM, Eastern Standard Time
- 6:50 PM, EST
- 02025.February.18 AD 06:50 PM
- Tue, 18 Feb 2025 18:50:58 -0500
- 250218235058+0000