You can apply the information there to do what you want to do.
Keep in mind, if you use document.write to write in the date, NS3 has trouble with the document.write command inside a table. You'll have to test it if a good portion of your audience uses NS3.
If you can use SSI, there is an easier way to do this. It was discussed in another forum here, I'll see if I can find it if you want it.
You can grab the code by viewing the page source. There is a portion of code to go between your <HEAD></HEAD> tags, and a small portion of code to place where you want the date to show up in the body section. The HTML source is commented so you know what to put where.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.
John Pollock posted this at 16:13 — 22nd May 1999.
He has: 628 posts
Joined: Mar 1999
Hi,
What format do you want the date in? I can be a little more helpful then.
If you want an explanation on the JS date object, see my first clock tutorial at:
http://www.pageresource.com/jscript/jclock.htm
You can apply the information there to do what you want to do.
Keep in mind, if you use document.write to write in the date, NS3 has trouble with the document.write command inside a table. You'll have to test it if a good portion of your audience uses NS3.
If you can use SSI, there is an easier way to do this. It was discussed in another forum here, I'll see if I can find it if you want it.
----------
John Pollock
http://www.pageresource.com
Java Script: A Beginner's Guide
Page Resource
Nico posted this at 19:44 — 22nd May 1999.
They have: 96 posts
Joined: Feb 1999
Hello John !!
Thanks for answering!
Check out my page to see the date I want, though is in spanish...
Still, the url is
www.developy.com/new3.html
The date is in the first table up
Regards
Nico
Nicolas Escobar J.
http://www.developy.com
Free resources for webmasters in spanish
John Pollock posted this at 02:38 — 24th May 1999.
He has: 628 posts
Joined: Mar 1999
Nico:
I wasn't sure what Asuncion meant, the AltaVista translator said it meant "assumption"? I'm not sure if it is part of the date or not.
I did work on everything after that, and I have a running example at:
http://www.pageresource.com/zzztest/testdate.htm
You can grab the code by viewing the page source. There is a portion of code to go between your <HEAD></HEAD> tags, and a small portion of code to place where you want the date to show up in the body section. The HTML source is commented so you know what to put where.
Hopefully, this will do the trick for you
----------
John Pollock
http://www.pageresource.com
Java Script: A Beginner's Guide
Page Resource
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.