moment().hour(Number); moment().hour(); // Number moment().hours(Number); moment().hours(); // Number


Gets or sets the hour.

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