DateTimeFormat Example
Today's date and time are {ts '2024-10-29 04:06:31'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 29-Oct-2024 04:06:31
- 2024.10.29 AD 'A' 04:06:31 EDT
- Tue, Oct 29, '24
- 4:06 AM
- 04 oc75oc4' AM, Eastern Daylight Time
- 4:06 AM, EDT
- 02024.October.29 AD 04:06 AM
- Tue, 29 Oct 2024 04:06:31 -0400
- 241029080631+0000