JavaScript date processing :( If we end up needing to do lots of this then [Date.js](http://www.datejs.com) is worth considering.