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.
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.
From here you can search these documents. Enter your search terms below.
Keys | Action |
---|---|
? | Open this help |
← | Previous page |
→ | Next page |
s | Search |