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: 2020/6/5 07:42,
|©2020 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://www.massmind.org/techref/inet/iis/jscript/htm/js52.htm"> getFullYear Method</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to www.massmind.org!