Wie stelle ich die Zeitzone von PHP und MySQL ein?

Wie stelle ich die Zeitzone von PHP und MySQL ein?

Ich muss sie auf die gleiche Zeitzone einstellen.

Antwort1

Die Verwaltung der MySQL-Zeitzonen ist dokumentiert unterhttp://dev.mysql.com/doc/refman/5.1/en/time-zone-support.html. Was PHP betrifft, ist es dokumentiert unterhttp://us.php.net/manual/en/datetime.configuration.php#ini.date.timezone

verwandte Informationen