Questions
Call the toISOString() method:
toISOString()
var dt = new Date("30 July 2010 15:05 UTC"); document.write(dt.toISOString()); // Output: // 2010-07-30T15:05:00.000Z
~ Answered on 2012-10-17 23:40:50