hour()

Returns the current hour as a number from 0–23.

उदाहरण

Returns

Integer: current hour between 0 and 23.
Notice any errors or typos? Please let us know. Please feel free to edit src/utilities/time_date.js and open a pull request!

संबंधित संदर्भ