Javascript Number fromOADate()
fromOADate()
Number.prototype.fromOADate = function () { var jO = new Date(((this - 25569) * 86400000)); var tz = jO.getTimezoneOffset(); return new Date(((this - 25569 + (tz / (60 * 24))) * 86400000)); };