05-29-2008, 12:14 PM
|
#14 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
|
i think you can use the date function to output the timezone offset in seconds by using the 'Z' param:
PHP Code:
echo date('Z');
or using the DateTime object:
PHP Code:
$dstOffset = new DateTime(); echo $dstOffset->getOffset();
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
Last edited by sketchMedia : 05-29-2008 at 12:15 PM.
Reason: syntax error
|
|
|
|