Title: wrong timestamps
Last modified: August 18, 2016

---

# wrong timestamps

 *  [ericfrederich](https://wordpress.org/support/users/ericfrederich/)
 * (@ericfrederich)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/wrong-timestamps-2/)
 * 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.

## Tags

 * [date](https://wordpress.org/support/topic-tag/date/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [timestamp](https://wordpress.org/support/topic-tag/timestamp/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ericfrederich](https://wordpress.org/support/users/ericfrederich/)
 * Last activity: [19 years, 1 month ago](https://wordpress.org/support/topic/wrong-timestamps-2/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
