![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jul 2001
Posts: 3,472
|
my sql server is broken :(
I keep using the getdate() function but I still don't have a date.
what should I do? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Apr 2001
Location: MI
Posts: 950
|
try adultfriendfinder
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Join Date: Oct 2001
Location: dirty jersey
Posts: 37
|
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: Utopia
Posts: 6,482
|
Quote:
![]() ------------------ ![]() - 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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Snow's Parole Officer
Join Date: Sep 2001
Location: mud hut next to Bin Laden's
Posts: 1,161
|
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 ![]() [This message has been edited by FADE19 (edited 10-24-2001).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Oct 2001
Location: LA
Posts: 162
|
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!" |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Oct 2001
Location: Where the sun don't shine
Posts: 1,185
|
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"]); |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Ask me about negative cash flow
Join Date: Feb 2001
Posts: 533
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Oct 2001
Location: LA
Posts: 162
|
Quote:
------------------ "Shock your systemadministration! Read manual-pages!" |
|
![]() |
![]() ![]() ![]() ![]() ![]() |