moment().millisecond(Number); moment().millisecond(); // Number moment().milliseconds(Number); moment().milliseconds(); // Number
Gets or sets the milliseconds.
Accepts numbers from 0 to 999. If the range is exceeded, it will bubble up to the seconds.