Permalink
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 270 Bytes
title version signature
Hour
1.0.0
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.