Language Reference |
See Also Applies To
Returns the year stored in the Date object according to local time.
To get the year according to Universal Coordinated Time (UTC), use the getUTCFullYear method.
The getFullYear method returns the year as an absolute number. For example, the year 1976 is returned as 1976. This avoids problems with dates occuring at the end of the 20th century.
© 1997 by Microsoft Corporation. All rights reserved.
|file: /Techref/inet/iis/jscript/htm/js52.htm, 2KB, , updated: 2008/1/31 23:46, local time: 2018/4/22 03:24,
|©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://techref.massmind.org/techref/inet/iis/jscript/htm/js52.htm"> getFullYear Method</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!