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