--- In DreamcastBrowsers@yahoogroups.com, "Fallout =)" <falout1@...> wrote:
>
> Hy
>
> Long time ;)
>
> Im looking for a Javascript code , to display the Date/Time the page
> was last modified for my website .
>
> Currently im using this code
> ----------------------------
>
> <!-- Last Updated Javascript start -->
> Last Updated
> <SCRIPT LANGUAGE="JavaScript">
> <!-- Begin
> var days = new Array(8);
> days[1] = "Sunday";
> days[2] = "Monday";
> days[3] = "Tuesday";
> days[4] = "Wednesday";
> days[5] = "Thursday";
> days[6] = "Friday";
> days[7] = "Saturday";
> var months = new Array(13);
> months[1] = "January";
> months[2] = "February";
> months[3] = "March";
> months[4] = "April";
> months[5] = "May";
> months[6] = "June";
> months[7] = "July";
> months[8] = "August";
> months[9] = "September";
> months[10] = "October";
> months[11] = "November";
> months[12] = "December";
> var dateObj = new Date(document.lastModified)
> var wday = days[dateObj.getDay() + 1]
> var lmonth = months[dateObj.getMonth() + 1]
> var date = dateObj.getDate()
> var fyear = dateObj.getYear()
> if (fyear < 2000)
> fyear = fyear + 1900
> document.write(wday + ", " + lmonth + " " + date + ", " + fyear)
> // End -->
> </SCRIPT>
> <!-- Last Updated Javascript end -->
>
> ---------------------------------------------------------------
> The Code works fin on Pc/Mac browsers . But the Dreamcast shows
> 1970.1.1 .
>
> It would be nice if someone could reffer me to a script that works on
> Dreamcast ! I KNOW that ive seen a js script on a dreamcast website
> that does the above thing , but can't find the site :(
>
> Also im Interested in any javascript snippet that works on dreamcast ,
> as im working on a js archiv for dreamcast ;)
>
>
> --------------
> <var>My Sig
> <echo>http://de.geocities.com/bustaremember/index.html
> <des>Unordered Dreamcast Links !
> <end/>
>
Good to see you are still about :)
I hope you find what you are after.
Regards,
Andrew B
aliensrcooluk@...