a blog for those who code

Saturday 2 January 2016

Date Libraries for JavaScript Developers

In this post we will be discussing about some of the JavaScipt Date libraries. These libraries allow you to add date and time picker functionality to your web applications by manipulating, parsing and formatting dates. These libraries will help you to parse, validate, manipulate and display dates in JavaScript.

1. Moment.js

Moment.js is freely available for download and was designed to work both in the browser and in Node.js. It is an awesome JavaScript library for validating, parsing and manipulating dates and times. Moment.js has robust support for internationalization. You can easily add multiple locales and esaily switch between them.


2. XDate.js

XDate is a thin wrapper around JavaScript's native Date object that provides enhances functionality for parsing, formating and manipulating dates. It implements the same methods as the native Date. It is non-destructive to the DOM, so it can be safely be included in third party libraries without fear of side effects.


3. DateJS

Datejs is an open-source JavaScript Date Library. It is comprehensive, yet simple, stealthy and fast. Datejs has passed all trials and is ready to strike. Datejs doesn't just parse strings, it slices them cleanly in two.


DateJS is not been developed actively now. Instead you can check DateJS Evolved which is a fork of original DateJS. Its been actively maintained and the author have almost fixed all the existing bugs and added several new features, improved parsing and many other changes.

Please Like and Share the CodingDefined.com Blog, if you find it interesting and helpful.

1 comment: