DateTimeFormat Example.
Today's date and time are {ts '2025-01-15 16:27:18'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 15-Jan-2025 16:27:18
- 2025.01.15 AD 'P' 16:27:18 EST
- Wed, Jan 15, '25
- 4:27 PM
- 04 oc167oc16' PM, Eastern Standard Time
- 4:27 PM, EST
- 02025.January.15 AD 04:27 PM
- Wed, 15 Jan 2025 16:27:18 -0500
- 250115212718+0000