Native JavaScript date and time formatting

For many years I used the moment.js library for parsing, manipulating, and formatting JavaScript dates and times. More recently I’ve started using the date-fns library instead. However, it’s interesting to note that native browser capabilities are quite good these days when formatting dates and times and the browser support is great too!

A clear, concise read on native Date object methods supported in modern browsers, courtesy of Elijah Manor.

Permalink