Date > Date.setUTCMonth
Date.setUTCMonthSyntax
myDate
.setUTCMonth(
month
[,
date
]);
Arguments
month
An integer from 0 (January) to 11 (December).
date
An integer from 1 to 31. This argument is optional.
Description
Method; sets the month, and optionally the day (date), for the specified Date object in universal time. 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
argument when calling setUTCMonth
.
Player
Flash 5 or later.