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


getYear

Description

Gets the year of the specified Date object, according to local time. Local time is determined by the operating system on which the Ffish Script is running. If the full year is between 1900 and 2000, the result is the full year minus 1900. For example, the year 2000 is represented as 100.


Syntax

date1.getYear()


Parameters

None


Returns

An integer.




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