next up previous contents
Next: setHours Up: Methods Previous: setDate   Contents


setFullYear

Description

Sets the year of the specified Date object, according to local time, and returns the new time in milliseconds. If the month and date parameters are specified, they are also set to local time. Local time is determined by the operating system on which the FFish Script is running.


Syntax

date1.setFullYear(year[, month [, date]])


Parameters

year
A numeric value equal to the year.
month
Optional. An integer from 0 (January) to 11 (December). This parameter is optional.
date
Optional. A number from 1 to 31. This parameter is optional.


Returns

The new time in milliseconds.




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