• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/time.php
  • Класс: CTimeZone
  • Вызов: CTimeZone::SetCookieValue
static function SetCookieValue($timezoneOffset)
{
	static $cookie_prefix = null;
	if($cookie_prefix === null)
	{
		$cookie_prefix = COption::GetOptionString('main', 'cookie_name', 'BITRIX_SM');
	}

	$_COOKIE[$cookie_prefix."_TIME_ZONE"] = $timezoneOffset;
}