Date.getMonth
getMonth – Get the month, according to local time (0–11).
Description
Date.getMonth()
Get the month, 0 (January) to 11 (December).
Return values
Integer
Examples
Example #1 – getMonth example
getMonth – Get the month, according to local time (0–11).
Date.getMonth()
Get the month, 0 (January) to 11 (December).
Integer