date_offset_get
(PHP 5 >= 5.1.0)
date_offset_get — Returns the daylight saving time offset
Descripción
int date_offset_get
( DateTime $object
)
int DateTime::getOffset
( void
)
Lista de parámetros
- object
-
DateTime object.
Valores retornados
Returns DST offset in seconds on success or FALSE on failure.