Archive of UserLand's first discussion group, started October 5, 1998.
JavaScript getYear
Author: David Rothgery Posted: 1/3/2000; 10:31:29 AM Topic: JavaScript getYear Msg #: 14023 Prev/Next: 14022 / 14024
A quick check shows that IE5/Win32 (or more accurately, the version of the Microsoft Scripting Engine that ships with IE5) returns 2000 today. Though that's certainly not a blanket statement about all versions of IE.Still, I thought that getYear() was deprecated in favor of getFullYear(), which always returns a four-digit year.
--
Dave Rothgery
http://drothgery.editthispage.com
There are responses to this message:
- Re: JavaScript getYear, Lawrence Lee, 1/3/2000; 10:44:39 AM
This page was archived on 6/13/2001; 4:53:54 PM.
© Copyright 1998-2001 UserLand Software, Inc.