JavaScript Editor Javascript debugger     Website design 

date_offset_get

Returns the daylight saving time offset (PHP 5 >= 5.1.0)
int date_offset_get ( DateTime object )
int DateTime::getOffset ( )

Parameters

object

DateTime object.

Return Values

Returns DST offset in seconds on success or FALSE on failure.