July 1998
Intermediate to advanced
1456 pages
65h 5m
English
setMonth() — NN 2 IE J1 ECMA 1
setMonth(monthInt)Sets the month value for the date specified by the
Date object. That this method’s values are
zero-based frequently confuses scripters at first. This method alters
the value of the instance of the Date object.
New date in milliseconds.
monthInt
Integer between and 11. January is 0, February is 1, and December is 11.
Read now
Unlock full access