DateTimeFormat Example.
Today's date and time are {ts '2024-11-18 22:18:59'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 18-Nov-2024 22:18:59
- 2024.11.18 AD 'P' 22:18:59 EST
- Mon, Nov 18, '24
- 10:18 PM
- 10 oc611oc22' PM, Eastern Standard Time
- 10:18 PM, EST
- 02024.November.18 AD 10:18 PM
- Mon, 18 Nov 2024 22:18:59 -0500
- 241119031859+0000