View Full Version : time/date java scipt ??
mniki
2005-01-21, 08:38 AM
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
I know that you can use both SSI and PHP but I don't have the code handy.
mniki
2005-01-21, 09:09 AM
thx for info
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
Useless
2005-01-21, 10:05 AM
Javascript doohicky:
http://www.codeproject.com/jscript/datestring.asp
cd34 is a god :D
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 :)
Ramster
2005-01-21, 10:10 AM
I use one from here and it works great!!
http://www.cgiscript.net/scripts.htm
mniki
2005-01-21, 10:46 AM
Once more thx to all of you
vBulletin® v3.8.1, Copyright ©2000-2026, Jelsoft Enterprises Ltd.