|
2005-01-21, 07:38 AM | #1 |
Just because I don't care doesn't mean I don't understand!
|
time/date java scipt ??
Hi ,
Need some help with my webpage , would like to put a time and date on my page, Is it possible to do any other way than to use java script, If yes, please explain how. Thx in advance |
2005-01-21, 07:50 AM | #2 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
I know that you can use both SSI and PHP but I don't have the code handy.
|
2005-01-21, 08:09 AM | #3 |
Just because I don't care doesn't mean I don't understand!
|
thx for info
|
2005-01-21, 08:59 AM | #4 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
For SSI, try:
<!--#exec cmd="date +'%A, %B %d, %Y'"--> A little more information about the date command: http://www.rt.com/man/date.1.html For PHP, try: <?php echo date("D F j, Y"); ?> A little more information about the php date function: http://www.php.net/manual/en/function.date.php
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
2005-01-21, 09:05 AM | #5 |
Certified Nice Person
|
Javascript doohicky:
http://www.codeproject.com/jscript/datestring.asp
__________________
Click here to purchase a bridge I'm selling. |
2005-01-21, 09:08 AM | #6 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
cd34 is a god
http://cleos-porn-links.com/info.php I've been meaning to go hunt down the date code for an admin page of mine in my LL script. Thank You |
2005-01-21, 09:10 AM | #7 |
Life is good
|
I use one from here and it works great!!
http://www.cgiscript.net/scripts.htm |
2005-01-21, 09:46 AM | #8 |
Just because I don't care doesn't mean I don't understand!
|
Once more thx to all of you
|
|
|