Function getMonth

  • Returns the month as a number between 1 and 12.

    Parameters

    • date: Date = ...

      If not the current year is wanted, pass a date object to get the year from.

    Returns number

    Remarks

    to use UTC time, use

    See

    getMonth.UTC()

Generated using TypeDoc