This returns an array that mirrors the parameters from new Date().
This returns an array that mirrors the parameters from new Date().
moment().toArray(); // [2013, 1, 4, 14, 40, 16, 154];
To get the native Date object that Moment.js wraps, use moment#toDate.
To get the native Date object that Moment.js wraps, use moment#toDate.
Formats a string to the ISO8601 standard.
When serializing an object to JSON, if there is a Moment object, it will be represented as an ISO8601 string, adjusted to UTC.
This returns an object containing year, month, day-of-month, hour, minute, seconds, milliseconds.
moment#native has been replaced by moment#toDate and has been deprecated as of 1.6.0
moment#native has been replaced by moment#toDate and has been deprecated as of 1.6.0
(Since version 1.6.0) Use toDate() instead
(Since version 2.0) use moment().utcOffset instead.
(Since version 2.0) use moment().utcOffset instead.
Moment.js - Parse, validate, manipulate, and display dates in JavaScript.
2.17.1
http://momentjs.com/