• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/grid/effective/row/content/date.php
  • Класс: Bitrix\Tasks\Grid\Effective\Row\Content\Date
  • Вызов: Date::getDateTimestamp
protected function getDateTimestamp($date): int
{
	$timestamp = MakeTimeStamp($date);

	if ($timestamp === false)
	{
		$timestamp = strtotime($date);
		if ($timestamp !== false)
		{
			$timestamp += CTimeZone::GetOffset() - DateTime::createFromTimestamp($timestamp)->getSecondGmt();
		}
	}

	return $timestamp;
}