参考 month()

month()

Returns the current month as a number from 1–12.

示例

Returns

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

相关参考