Javascript for Date Last Changed & Y2K
[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]
Posted by Paula Gregorowicz on January 4, 2000 at 8:37:22:
Hi, I have been using Javascript to have the Date last Updated on my html documents using the following code: <SCRIPT LANGUAGE="Javascript"> <!--// var date = new Date(document.lastModified); document.write("Last Updated:"+(date.getMonth()+1)+ "/" + date.getDate()+ "/" + date.getYear() + ""); //--> </SCRIPT> Which has worked fine all along, until,. you guessed it, I updated a page today & the output says 01/04/100 Now everything on the server seems fine in terms of dates (ASP getting dates is ok, backups and GFS dating, etc. all ok, no Y2K issues noted yet). Any ideas what I need to do to rectify this? Thanks -Paula
Follow Ups:
|