DekGenius.com
Team LiB   Previous Section   Next Section
Date.getFullYear( ) return the year

Availability

JavaScript 1.2; JScript 3.0; ECMAScript v1

Synopsis

date.getFullYear(  )

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.

    Team LiB   Previous Section   Next Section