Second1.0.0+

  1. moment().second(Number);
  2. moment().second(); // Number
  3. moment().seconds(Number);
  4. moment().seconds(); // Number

Gets or sets the seconds.

Accepts numbers from 0 to 59. If the range is exceeded, it will bubble up to the minutes.