Microsoft® JScript
getYear Method

See Also

Language Reference 

Description

Retrieve the year stored in the specified Date object.

Syntax

objDate.getYear( )

Remarks
The year is an integer value and is returned as the difference between the stored year and 1900. For example, 1996 is returned as 96, and 2025 is returned as 125.


© 1996 by Microsoft Corporation.

Casa de Bender