In this sense Datejs can save you dozens of hours of development time by sparing you from writing a zillion lines of code (especially if you’re still tinkering with IE6).
Like jQuery, each method gives you an object that can be linked with another; things are accomplished with ease – in a literal way, almost naturally:
Datejs gives a response to the validation engine by offering a “parser,” which is handy for checking a date entered manually or through a “date picker”:
And location? Datejs is armed with knowledge of more than 150 cultures, which you can use on demand.
To conclude, the API is very well documented (but in English) and the installation is very simple.
Datejs is not exactly revolutionary but why go without it (it’s about 25 kb). It is essential in the management and display of dates on the client side.
Small, discreet and extremely effective — Datejs is indeed a ninja.
For more information: