05-29-2008, 01:14 PM
|
#14 (permalink)
|
|
The Frequenter
Join Date: Oct 2007
Location: Manchester, UK
Posts: 469
Thanks: 26
|
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();
__________________
Last edited by sketchMedia : 05-29-2008 at 01:15 PM.
Reason: syntax error
|
|
|
|