List:General Discussion« Previous MessageNext Message »
From:Andre Polykanine Date:February 24 2011 5:23pm
Subject:Changing the timezone
View as plain text  
Hi everyone,
since  I'm  using  the  shared  hosting,  I  can't  change the default
timezone for MySql.
Question  is: is there any query that I could launch in my connect.php
before other queries to make my timezone change?
For instance, I make a
mysql_query("SET CHARACTER_SET_DATABASE='utf8'") or die ("Unable to change database
charset: ".mysql_error());
and a
mysql_query("SET NAMES 'utf8'") or die ("Unable to set names: ".mysql_error());

Maybe is there a way to change my timezone to Europe/Kiev?
Thank you!

With best regards from Ukraine,
Skype: Francophile

Changing the timezoneAndre Polykanine24 Feb
  • RE: Changing the timezoneTravis Ard24 Feb