RE: Adding "Last Update" notation to a page
by "Thomas Fisher" <raidermp(at)yahoo.com>
|
Date: |
Mon, 3 Jan 2000 22:19:36 -0500 |
To: |
<kixi(at)altavista.net>, "Thomas Fisher" <raidermp(at)yahoo.com> |
Cc: |
"Gibson, Timmi" <TimmiG(at)verbatim.com.au>, <hwg-basics(at)hwg.org> |
In-Reply-To: |
gmx |
|
todo: View
Thread,
Original
|
|
I'm not too sure. I saw this listed on a free script page and use it on my
site. I am still at the intermediate HTML level and beginner in Java/
JavaScript. In fact, I had to do a search to find out what SSI meant! :)
Thomas Fisher
http://www.angelfire.com/ga2/cavalier
http://www.angelfire.com/ga2/3dmpcompany
http://www.freeyellow.com/members8/raidermp/
We wonder why the dogs always drink out of our toilets, but look at it
from their point of view; why do humans keep peeing into their water
bowls?
-----Original Message-----
From: Jakob D�lling [mailto:alligotar(at)gmx.net]
Sent: Monday, January 03, 2000 04:28 PM
To: Thomas Fisher
Cc: Gibson, Timmi; hwg-basics(at)hwg.org
Subject: Re: Adding "Last Update" notation to a page
Thomas Fisher schrieb:
>
> Try this script
>
> <SCRIPT LANGUAGE="JavaScript">
> <!--
>
> function initArray()
>
> this.length = initArray.arguments.length
> for (var i = 0; i < this.length; i++)
> this[i+1] = initArray.arguments[i]
> }
> var DayArray = new initArray("Sunday","Monday","Tuesday","Wednesday",
> "Thursday","Friday","Saturday");
> var MonthArray = new initArray("January","February","March","April",
> "May","June","July","August","September",
> "October","November","December");
> var saveddate = new Date(document.lastModified);
> document.write("Last updated on ");
> // if you want the day also, remove the // from the next line
> // document.write(DayArray[(saveddate.getDay()+1)],", ");
> document.write(MonthArray[(saveddate.getMonth()+1)]," ");
> document.write(saveddate.getDate(),", ",(saveddate.getYear()+1900));
> document.write(". ");
> // End hiding --></SCRIPT>
Is any SSI tag for a Apache 1.3.x server?
TIa,
Jaob D�lling
--
Contact:
//////////////////////////////////////////////////////////////
|Jakob D�lling *EMail: mailto:alligott(at)geocities.com /
|Treuerzipfel 13 *ICQ #: 47326203 *
|D-38678 Clausthal *ICQ pager: mailto:47326203(at)pager.icq.com \
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
-Webmaster of http://www.bank-ic.de/ -
--------------------------------------------------------------
-Private URL: http://members.xoom.com/kadnmos/ -
--------------------------------------------------------------
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.com
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA