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 cubrid mysql 兼容性函数 return the type of the column corresponding to the given field offsetphp date/time 函数 get info about given date formatted according to the specified formatphp date/time 函数 returns associative array with detailed info about given datephp eio 函数 read from a file descriptor at given offsetphp intlcalendar calculate difference between given time and this objectʼs timephp intldateformatter sets the time zone to usephp intltimezone get an enumeration over time zone ids associated with the given country or offsetphp 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 an id in the equivalency group that includes the given idphp intltimezone create gmt utc timezonephp 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.
关注编程学问公众号