Datejs: A Truly Slick Date Script

 By 
Mark 'Rizzn' Hopkins
 on 
Datejs: A Truly Slick Date Script
Mashable Image
Credit:

It isn't often when I come across a JavaScript so cool that I feel I must blog about it.  In fact, I don't think I've ever come across such a JavaScript before today.  Datejs earns this elusive distincction today because it's just so darn good at what it does.It is really simple.  You type in a date into the form box in a just about any way you can imagine (semantically or with standard dashes and slashes), and it will translate that into a formatted, database friendly version of the date. It is everything I've ever wanted in a form date validation tool, but didn't have the patience to program.  Datejs is fast, too. I'm stuck using one of my slowest machines today, and there is no noticable delay between the typing and the translation of the date.

Mashable Image
Credit:

Datejs is released as open source via GoogleCode under the MIT license, so you can go grab it now and incorporate it into your site creatively. I expect to see this everywhere soon (that's not a prediction, that's an order!).

The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!