• Hello guys, I found that comments and other things on the blog are being timestamped 1 hour earlier than they were actually posted.

    On the Unix machine it is being served from, when I type the “date” command, it shows the correct date.

    When I create a sample php file and do echo "The time is : " . date("H:i:sa");, it shows the correct date.

    Where could things be going wrong? In MySQL? How should I check that everything is set up correctly.

    Does php just rely on the underlying system’s date function or do I need to set up timezones and daylight savings time manually?

    Same question for MySQL, does it rely on the system or do I need to configure it?

    Thanks,
    ~Eric

The topic ‘wrong timestamps’ is closed to new replies.