24 February, 2009

JavaScript and Dates.

If you've ever tried to work with date manipulation and formatting in JavaScript, then you know what a hassle it can be. While trying to solve a particularly itchy problem with dates, I ran across this post by Steven Levithan that everyone should be aware of.

He's put together a very nice little Java Script library that lets you format a JavaScript Date object very easily. The available date format masks have been abstracted in such a way that it is quite easy to make them match what you're used to as an Oracle developer.

So, if you ever have to deal with Date formatting in Javascript, then this is definitely something to check out.