JavaScript’s Dates Are Fun With Moment.js

Date manipulation is incredibly common in most applications. It is one of those development hurdles that we all must deal with at some point in our career. We have several tools for manipulating Dates in JavaScript. Moment.js is one of those tools for JavaScript development. 
It makes dates and times easy to format, parse, validate, and internationalize. The standard JavaScript Date object isn’t too bad; it just requires writing a lot of code to do complex parsing, validation, and displaying of dates.