free flash templates free css & photoshop templates free flash animation |
|
#1
|
|||
|
|||
Inserting Date into the web page
Hi,
Does anyone know how to insert a date into the web page instead of hard coding it each week? http://www.steppingstonemontessori.org kamal |
#2
|
|||
|
|||
Hi,
You can add date in your webpage javascript this way: <script type="text/javascript"> var dat = new Date() document.write(dat .getDate()) document.write(".") document.write(dat .getMonth() + 1) document.write(".") document.write(dat.getFullYear()) </script>
__________________
We are always pleased to read you in our guestbook |
#3
|
|||
|
|||
Thank you for your help.
kamal |
#4
|
|||
|
|||
Quote:
How can I get the month to be in alphabetical format rather than numerical format? Kamal |
#5
|
|||
|
|||
I think you will find what you're look for here :
http://www.netmechanic.com/news/vol5...cript_no12.htm
__________________
We are always pleased to read you in our guestbook |
Thread Tools | Search this Thread |
Display Modes | |
|
|