DateTimeFormat Example.
Today's date and time are {ts '2024-12-14 08:01:35'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 14-Dec-2024 08:01:35
- 2024.12.14 AD 'A' 08:01:35 EST
- Sat, Dec 14, '24
- 8:01 AM
- 08 oc117oc8' AM, Eastern Standard Time
- 8:01 AM, EST
- 02024.December.14 AD 08:01 AM
- Sat, 14 Dec 2024 08:01:35 -0500
- 241214130135+0000