DateTimeFormat Example
Today's date and time are {ts '2026-05-30 12:48:47'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 30-May-2026 12:48:47
- 2026.05.30 AD 'P' 12:48:47 EDT
- Sat, May 30, '26
- 12:48 PM
- 12 oc411oc12' PM, Eastern Daylight Time
- 0:48 PM, EDT
- 02026.May.30 AD 12:48 PM
- Sat, 30 May 2026 12:48:47 -0400
- 260530164847+0000