Name

Date.getFullYear( ) Method — the four-digit year

Availability

Flash 5

Synopsis

date.getFullYear( )

Returns

A four-digit integer representing the year for date, for example 1999 or 2000.

Get ActionScript: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.