Posts Tagged ‘formatting’

JavaScript date string formatting

Tuesday, July 15th, 2008

Date string formatting is very brutal in JavaScript, which probably has the worst built in library in relation to the distribution this language sees. So a long time ago I whipped up a script file, for doing just this. I always though PHP’s date function looked very nice, so I decided to model my function upon that.

(more…)