参考 hour()

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!

相关参考