![]() |
my sql server is broken :(
I keep using the getdate() function but I still don't have a date.
what should I do? |
try adultfriendfinder http://bbs.gofuckyourself.net/board/smile.gif
|
|
Quote:
------------------ http://www.tgp2counter.net/tgp2c/pic..._but120x60.gif - the Official TGP2 Counter --> signup now for realtime stats, toplists and more...! - Submit Your Galleries Here to The Naughty Daily - EraserCash - $35/signup, unique commissionprogram |
I would do it in the script and then submit along with whatever else you are uploading to the DB, I am assuming because you are using SQL server it is Micoshit sooo...in ASP do this:
inpu typ="text" NAME="time" value="<4=now()4" replace the 4's with percentage signs...this is just a temp fix....I have been doing PHP for awhile so my ASP is a little rusty http://bbs.gofuckyourself.net/board/biggrin.gif [This message has been edited by FADE19 (edited 10-24-2001).] |
Quote:
ok u using php ? if yes .. getdate returns an associative array containing the date information of the timestamp, or the current local time. u u need the system time now ! which format u need ? or u need the timestamp ? or u need to convert the timestamp to a 'real' time ? ------------------ "Shock your systemadministration! Read manual-pages!" |
setlocale ("LC_ALL");
#It the server is in another time zone $time_offset="+0"; $date_format= "%A %d %b, T. %H:%M"; $sql= "SELECT UNIX_TIMESTAMP(insertedDate) as insDate"; $date = strftime($date_format,$myrow["insDate"]); |
Quote:
|
Quote:
------------------ "Shock your systemadministration! Read manual-pages!" |
All times are GMT -7. The time now is 10:36 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123