Reputation: 2109
Hi please help me with this one. And dont downvote because I have done research, but did not find anything.
I have a weird issue where my MySQL datetime fields are in the correct DayLight saving times. But when I select them through PHP they are still in Winter time, meaning minus one hour.
How can I fix this?
UPDATE Timezone is GMT+1 which is correct. My MySql DB is also correct.
Upvotes: 0
Views: 264
Reputation: 4618
This is not about mysql.
It is about your default php timezone settings.
see
http://www.php.net/manual/de/function.date-default-timezone-set.php
Upvotes: 1