Forum Moderators: coopster

Message Too Old, No Replies

PHP Time Out of Whack

         

ryanfromaustin

12:59 am on Mar 23, 2007 (gmt 0)

10+ Year Member



Our IT department just now reset our system clock for daylight savings (a little late, I realize). In any event, it appears that PHP is still randomly out-of-sync. Intermittent records appear to be defaulting to the old system time (one hour earlier) when a record is added to our database. Most records are being added with the correct time. Has anyone seen this?

Cheers,
Ryan

coopster

9:33 am on Mar 23, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



What code are you using to add records to the database? Are you using PHP functions to determine the timestamps? Or are you using the database's temporal operator (CURRENT_TIMESTAMP)?