Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NS getDate returning 102 as the year.

Status
Not open for further replies.

ZekeO238

Programmer
Oct 1, 2002
32
0
0
US
I even have the string:

Code:
if (year<200) year+1900

and it still displays the year as 102, anything I can do to fix this?
 
which version of netscape are you using? It may be one of the really old Netscape 4 that is not year 2000 compliant but I wouldn't worry too much about NS4.

Try using myDate.getFullYear() instead and Netscape 6. Gary Haran
 
It is Netscape 6 and I thank you, I totally forgot about FullYear and it works, thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top