Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
date_offset_get

date_offset_get

(PHP 5 >= 5.1.0RC1)

date_offset_get -- Returns the daylight saving time offset

Description

int date_offset_get ( DateTime object )

int DateTime::getOffset ( void )

Parameters

object

DateTime object.

Return Values

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