Section 24.42. Date.getYear( ): return the year field of a Date


24.42. Date.getYear( ): return the year field of a Date

ECMAScript v1; deprecated by ECMAScript v3

24.42.1. Synopsis

date.getYear( )

24.42.1.1. Returns

The year field of the specified Date object date minus 1900.

24.42.2. Description

getYear( ) returns the year field of a specified Date object minus 1900. As of ECMAScript v3, it is not required in conforming JavaScript implementations; use getFullYear( ) instead.




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net