JavaScript: The Definitive Guide

24.26. Date.getFullYear( ): return the year field of a Date

ECMAScript v1

24.26.1. Synopsis

date.getFullYear( )

24.26.1.1. Returns

The year that results when date is expressed in local time. The return value is a full four-digit year, including the century, not a two-digit abbreviation.

Категории