• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/classes/general/calendar.php
  • Класс: CCalendar
  • Вызов: CCalendar::_fixTimestamp
static function _fixTimestamp($timestamp)
{
	if (date("Z") !== date("Z", $timestamp))
	{
		$timestamp += (date("Z") - date("Z", $timestamp));
	}
	return $timestamp;
}