MySQL date fetched with one hour behind from PHP -
hi please me one. , dont downvote because have done research, did not find anything.
i have weird issue mysql datetime fields in correct daylight saving times. when select them through php still in winter time, meaning minus 1 hour.
how can fix this?
update timezone gmt+1 correct. mysql db correct.
this not mysql.
it default php timezone settings.
see
http://www.php.net/manual/de/function.date-default-timezone-set.php
Comments
Post a Comment