Skip to content

Instantly share code, notes, and snippets.

@anytizer
Created March 13, 2014 08:41
Show Gist options
  • Save anytizer/9524490 to your computer and use it in GitHub Desktop.
Save anytizer/9524490 to your computer and use it in GitHub Desktop.
Server timezone difference
mysql_query('SET time_zone = "+0:00";');
date_default_timezone_set('Europe/London');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment