Results 1 to 3 of 3
Jul 9, 2006, 10:40 #1
'Changing' The Time Entered Into Database
My server is the in the Eastern (USA) timezone, so when things are entered into the database (e.g., mysql_query("insert into myTbl (time_entered) VALUES ('".time()."')")), it obvious enters it in as the EST timezone. Would '".time()-10800."' (10800 seconds = 3 hours) change it to the Pacific TZ, because they are 3 hours behind EST timezone? Does it work this way, or is there any other easier way to do this?