Moment.js is great library for interacting with date and time. It helps you parse, validate, manipulate, and display dates.
Did not hear about Moment.js? Check the docs.
How to install for server side usage Download the source code at https://momentjs.com/downloads/moment.js Create a script include named “moment” and fill with source code. The moment object is ready to be used in all server side code expressions. How to install for client side usage If you want to use Moment.