next up previous contents
Next: setSeconds Up: Methods Previous: setMinutes   Contents


setMonth

Description

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 Ffish Script is running.


Syntax

myDate.setMonth(month[, date ])


Parameters

month
An integer from 0 (January) to 11 (December).
date
Optional. An integer from 1 to 31. This parameter is optional.


Returns

An integer




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.