IntlTimeZone::getOffset
intltz_get_offset
(PHP 5 >= 5.5.0, PHP 7, PHP 8, 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 function IntlTimeZone::getOffset(
float
bool
int
int
): bool
float
$timestamp,bool
$local,int
&$rawOffset,int
&$dstOffset): bool
过程化风格:
function intltz_get_offset(
IntlTimeZone
float
bool
int
int
): bool
IntlTimeZone
$timezone,float
$timestamp,bool
$local,int
&$rawOffset,int
&$dstOffset): bool
警告
本函数还未编写文档,仅有参数列表。
参数
timestamp
local
rawOffset
dstOffset
返回值
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
