См. определение в файле time.php строка 12
◆ calculateOffset()
calculateOffset |
( |
string | $timeZone | ) |
|
|
static |
Calculates the difference between local server time and specified timezone in the present moment of time in seconds.
- Аргументы
-
- Возвращает
- int
См. определение в файле time.php строка 272
◆ Disable()
◆ Enable()
◆ Enabled()
◆ GetCookieValue()
- Возвращает
- null
См. определение в файле time.php строка 176
◆ GetOffset()
GetOffset |
( |
| $USER_ID = null, |
|
|
| $forced = false ) |
|
static |
- Аргументы
-
int | null | $USER_ID | If USER_ID is set offset is taken from DB |
bool | $forced | If set, offset is calculated regardless enabling/disabling by functions Enable()/Disable(). |
- Возвращает
- int
См. определение в файле time.php строка 193
◆ getTimezoneOffset()
getTimezoneOffset |
( |
string | $timeZone | ) |
|
|
static |
Returns timezone offset according to global settings.
- Аргументы
-
- Возвращает
- int
См. определение в файле time.php строка 252
◆ getTzCookie()
◆ GetZones()
◆ IsAutoTimeZone()
IsAutoTimeZone |
( |
| $autoTimeZone | ) |
|
|
static |
◆ OptionEnabled()
◆ SetAutoCookie()
◆ SetCookieValue()
SetCookieValue |
( |
| $timezoneOffset | ) |
|
|
static |
◆ $enabled
◆ $useTimeZones
Объявления и описания членов класса находятся в файле:
- C:/bitrix/modules/main/classes/general/time.php