略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: IntlTimeZone::getRawOffset

2024-05-04

IntlTimeZone::getRawOffset

intltz_get_raw_offset

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

IntlTimeZone::getRawOffset -- intltz_get_raw_offsetGet the raw GMT offset (before taking daylight savings time into account

说明

面向对象风格 (method):

public IntlTimeZone::getRawOffset(): int

过程化风格:

intltz_get_raw_offset(IntlTimeZone $timezone): int

警告

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

参数

此函数没有参数。

返回值

add a noteadd a note

User Contributed Notes 1 note

up
0
Anonymous
3 years ago
The return value is the difference, in milliseconds, between UTC and local time. Note that this means that the offset is positive if the local timezone is behind UTC and negative if it is ahead.

官方地址:https://www.php.net/manual/en/intltimezone.getrawoffset.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3