Php/docs/intltimezone.getoffset
来自菜鸟教程
IntlTimeZone::getOffset
intltz_get_offset
(PHP 5 >= 5.5.0, PHP 7, PECL >= 3.0.0a1)
IntlTimeZone::getOffset -- intltz_get_offset — Get the time zone raw and GMT offset for the given moment in time
说明
面向对象风格 (method):
public IntlTimeZone::getOffset
( float $date
, bool $local
, int &$rawOffset
, int &$dstOffset
) : bool
过程化风格:
intltz_get_offset
( IntlTimeZone $timezone
, float $date
, bool $local
, int &$rawOffset
, int &$dstOffset
) : bool
Warning 本函数还未编写文档,仅有参数列表。
参数
date
local
rawOffset
dstOffset