
Marco Rossi - 2012-07-19 13:15:06
Hi! How can i convert a given value to a specific timezone?
Example i want to convert "2012-07-19 17:20:26" (GMT) in CEST
i make:
$tz->setProperty('DateTime', '2012-07-19 13:20:26');
$tz->setProperty('Timezone', 'CEST');
print "<br/> CEST::" . $tz->convertDateTime();
but returns the same date...
And another question, do you have the sql query for populate a table with this timezone value?
Thank you!