参考 hour()

hour()

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

示例

语法

hour()

参数

返回值

Integer: current hour between 0 and 23.

相关参考