Date.getYear()

Availability

Flash Player 5.

Usage

my_date.getYear()

Parameters

None.

Returns

An integer.

Description

Method; returns the year of the specified Date object, according to local time. Local time is determined by the operating system on which Flash Player is running. The year is the full year minus 1900. For example, the year 2000 is represented as 100.

See also

Date.getFullYear()