return this.zoneName();
},
x : function () {
- return this.unixms();
+ return this.valueOf();
},
X : function () {
return this.unix();
return makeMoment(c).utc();
};
- // creating with unix offset (in milliseconds)
- moment.unixms = function (input) {
- return moment(input);
- };
-
// creating with unix timestamp (in seconds)
moment.unix = function (input) {
return moment(input * 1000);
return +this._d + ((this._offset || 0) * 60000);
},
- unixms: function () {
- return +this;
- },
-
unix : function () {
return Math.floor(+this / 1000);
},