May 2001
Intermediate to advanced
720 pages
23h 24m
English
Date.setMonth( ) Method — assign the month of the year
Flash 5
date.setMonth(month)
An integer from 0
(January) to 11 (December), not from 1 to 12, representing the new
month of the year of date. Values above 11
or below
are carried over to the year of date .
An integer representing the number of milliseconds between the new date and midnight, January 1, 1970.
Be careful not to assume that 1 is January! Months start at 0, not 1.
Date.getMonth( )
Read now
Unlock full access