Basic Date Formatting Without A Library
> const now = new Date();
> now
Tue Nov 19 2019 16:23:43 GMT-0600 (Central Standard Time)> Intl.DateTimeFormat('en-US').format(now)
"11/19/2019"> Intl.DateTimeFormat('en-US', { dateStyle: "full" }).format(now)
"Tuesday, November 19, 2019"
> Intl.DateTimeFormat('en-US', { dateStyle: "long" }).format(now)
"November 19, 2019"
> Intl.DateTimeFormat('en-US', { dateStyle: "medium" }).format(now)
"Nov 19, 2019"
> Intl.DateTimeFormat('en-US', { dateStyle: "short" }).format(now)
"11/19/19"Last updated