IntlTimeZone::getOffset

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

IntlTimeZone::getOffsetGet the time zone raw and GMT offset for the given moment in time

说明

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

Warning

本函数还未编写文档,仅有参数列表。

参数

date

local

rawOffset

dstOffset

返回值

相关文章
php datetimeinterface return time zone relative to given datetimephp date/time 函数 get info about given date formatted according to the specified formatphp date/time 函数 returns associative array with detailed info about given datephp date/time 函数 格式化一个 gmt/utc 日期/时间php date/time 函数 取得 gmt 日期的 unix 时间戳php intldateformatter sets the time zone to usephp intltimezone get the number of ids in the equivalency group that includes the given idphp intltimezone get an enumeration over time zone ids associated with the given country or offsetphp intltimezone create a timezone object for the given idphp intltimezone get an enumeration over system time zone ids with the given filter conditionsphp intltimezone get the canonical system timezone id or the normalized custom time zone id for the given time zone idphp intltimezone get a name of this time zone suitable for presentation to the userphp intltimezone get the time zone raw and gmt offset for the given moment in timephp intltimezone get the raw gmt offset before taking daylight savings time into accountphp intltimezone get the region code associated with the given system time zone idphp intltimezone get the unknown time zonephp intltimezone check if this zone has the same rules and offset as another zonephp intltimezone check if this time zone uses daylight savings timephp swoole server repeats a given function at every given time interval.php swoole timer repeats a given function at every given time interval.
关注编程学问公众号