DateTimeFormat Example
Today's date and time are {ts '2023-06-08 22:27:51'}.
Using DateTimeFormat, we can display that date and time in different ways:
- 08-Jun-2023 22:27:51
- 2023.06.08 AD 'P' 22:27:51 EDT
- Thu, Jun 8, '23
- 10:27 PM
- 10 oc95oc22' PM, Eastern Daylight Time
- 10:27 PM, EDT
- 02023.June.08 AD 10:27 PM
- Thu, 8 Jun 2023 22:27:51 -0400
- 230609022751+0000