DateTimeFormat Example
Today's date and time are {ts '2025-11-17 15:07:02'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 17-Nov-2025 15:07:02
- 2025.11.17 AD 'P' 15:07:02 EST
- Mon, Nov 17, '25
- 3:07 PM
- 03 oc927oc15' PM, Eastern Standard Time
- 3:07 PM, EST
- 02025.November.17 AD 03:07 PM
- Mon, 17 Nov 2025 15:07:02 -0500
- 251117200702+0000