Posts Tagged mysql
Setting your timezone in mysql
Posted by Erik Bauffman in default on February 8th, 2010
If you want to set your timezone in mysql for your database connection, do this.
SET time_zone = ‘+2:00′;
Keep in mind that the number should be correct and can also have a minus sign, based on the timezone you want to set ofcourse. Do watch out for the UTC timezone, because mysql requires the +.
SET time_zone = ‘+0:00′;