DateTimeFormat Example
Today's date and time are {ts '2026-04-28 07:19:02'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 28-Apr-2026 07:19:02
- 2026.04.28 AD 'A' 07:19:02 EDT
- Tue, Apr 28, '26
- 7:19 AM
- 07 oc933oc7' AM, Eastern Daylight Time
- 7:19 AM, EDT
- 02026.April.28 AD 07:19 AM
- Tue, 28 Apr 2026 07:19:02 -0400
- 260428111902+0000