D-E > Date.setMonth

 

Date.setMonth

Availability

Flash Player 5.

Usage

myDate.setMonth(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 for the specified Date object in local time, and returns the new time in milliseconds. Local time is determined by the operating system on which the Flash Player is running.