D-E > Date.setUTCMonth |
Date.setUTCMonth
date.setutcmonth, setutcmonth, date
Availability
Flash Player 5.
Usage
myDate.setUTCMonth(month[,date])
Parameters
month An integer from 0 (January) to 11 (December).
date An integer from 1 to 31. This parameter is optional.
Returns
An integer.
Description
Method; sets the month, and optionally the day (date), for the specified Date object in universal time, and returns the new time in milliseconds. Calling this method does not modify the other fields of the specified Date object, but the getUTCDay and getDay methods may report a new value if the day of the week changes as a result of specifying the date parameter when calling setUTCMonth.