Javascript Date setWcfJsonDate()

Description

Javascript Date setWcfJsonDate()

Date.prototype.setWcfJsonDate = function () {
    var date = null;
    if (this.isValid()) {
        date = "/Date(" + this.getTime() + ")/";
    }/*from ww  w .ja v  a2 s .co m*/
    return date;
};



PreviousNext

Related