Dates
Date Strings
TODO: Examples of how browsers handle converting date strings to Date objects.
Formatting Dates - Vanilla JS
MDM: Intl.DateTimeFormat()
https://gomakethings.com/how-to-create-a-clock-with-vanilla-js/
JavaScript Date Utility Libraries
moment.js
Legacy project in maintenance mode as of Sept 2020 (https://momentjs.com/docs/#/-project-status/ ).
Alternatives to moment.js
- You Probably Don't Need Moment.js Anymore
- You don't (may not) need Moment.js
- Why you shouldn't use Moment.js...
- 4 alternatives to moment.js for internationalizing dates
date-fns.js
Luxon
https://moment.github.io/luxon/#/
JavaScript Internationalization API
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl