| Manuál PHP | ||
|---|---|---|
| Předcházející | Další | |
timezone_offset_get
Popis
int timezone_offset_get ( DateTimeZone object, DateTime datetime )int DateTimeZone::getOffset ( DateTime datetime )
This function returns the offset to GMT for the date/time specified in the
datetime parameter. The GMT offset is calculated
with the timezone information contained in the DateTime object being used.
Seznam parametrů
objectDateTimeZone object.
datetimeDateTime that contains the date/time to compute the offset from.
Příklady
| Předcházející | Domů | Další |
| timezone_name_get | Nahoru |