dateTime-object was created to manipulate dates and times easily in javascript. This API was designed to work both with all browsers and with Node.js. It's a refactoring of momentjs for clean API and working with Objects. It requires moment. Documentation Demo