Formatting DateTime in C# is dead simple – just call ToString() passing in the format string you desire. Doing the same in JavaScript is annoyingly cumbersome. Today, I came across a nice little jQuery plugin that can carry out this mundane task. It’s the jQuery-dateFormat plugin and can be found at
http://archive.plugins.jquery.com/project/jquery-dateFormat
Using it is quite simple:
I can think of more than one time where this would've saved me some drudgery