next up previous contents
Next: UTC Up: Methods Previous: setUTCSeconds   Contents


setYear

Description

Sets the year 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

date1.setYear(year)


Parameters

year
If year is an integer between 0-99, setYear sets the year at 1900 + year; otherwise, the year is the value of the year parameter.


Returns

An integer




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