DateTimeFormat Example
Today's date and time are {ts '2024-10-22 12:21:09'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 22-Oct-2024 12:21:09
- 2024.10.22 AD 'P' 12:21:09 EDT
- Tue, Oct 22, '24
- 12:21 PM
- 12 oc52oc12' PM, Eastern Daylight Time
- 0:21 PM, EDT
- 02024.October.22 AD 12:21 PM
- Tue, 22 Oct 2024 12:21:09 -0400
- 241022162109+0000