month()

The month() function returns the current month as a value from 1-12.

Type: function

Returns:

  • {Number}:

    The current month number.