Javascript Date setWcfJsonDateOffset()

Description

Javascript Date setWcfJsonDateOffset()

Date.prototype.setWcfJsonDateOffset = function () {
    var dateOffset = null;
    var date = this.setWcfJsonDate();
    if (date != null) {
        dateOffset = {//from w  ww.j a  v  a 2  s  . c om
            DateTime: date,
            OffsetMinutes: -this.getTimezoneOffset()
        };
    }
    return dateOffset;
};



PreviousNext

Related