timezone_offset_get
Opis
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.
Parametry
objectDateTimeZone object.
datetimeDateTime that contains the date/time to compute the offset from.
Przykłady
| Poprzedni | Spis treści | Następny |
| timezone_name_get | Początek rozdziału |