在线文档教程
PHP
Internationalization

IntlTimeZone::getOffset

IntlTimeZone::getOffset

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1)

IntlTimeZone::getOffset — Get the time zone raw and GMT offset for the given moment in time

Description

public integer IntlTimeZone::getOffset ( float $date , bool $local , integer &$rawOffset , integer &$dstOffset )

Warning

This function is currently not documented; only its argument list is available.

Parameters

date local rawOffset dstOffset

Return Values

← IntlTimeZone::getID

IntlTimeZone::getRawOffset →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/intltimezone.getoffset.php