Ben bir tabloya bir tarihi ekler bazı PHP kodu var:
INSERT INTO tblEventLog VALUES ... date("Y-m-d H:i:s",time()) ...
Bu sonuç genellikle doğrudur, ancak ara sıra tarih arkasında bir saat:
315070 05-Sep-10 18:08
315069 05-Sep-10 18:07
315068 05-Sep-10 18:07
315067 05-Sep-10 18:06
315066 05-Sep-10 18:06
315065 05-Sep-10 17:04
315064 05-Sep-10 18:01
Bu neden olabilir? Tek bir sunucu yoktur.
EDIT:
Using NOW() Worked!
The problem was that one of the PHP pages was changing the timezone (when creating a RSS feed) and the PHP time() function was picking that up. Using the database to set the time fixed things.