is::getStartDatePlanGmt

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. is
  4. getStartDatePlanGmt
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/processor/task/scheduler/result/impact.php
  • Класс: BitrixTasksProcessorTaskSchedulerResultis
  • Вызов: is::getStartDatePlanGmt
public function getStartDatePlanGmt($getCreatedDateOnNull = false)
{
	$date = $this->getStartDateOrCreatedDate($getCreatedDateOnNull);

	if ((string)$date == '')
	{
		return null;
	}

	if ($this->startDatePlanGmt === null)
	{
		if ($date instanceof DateTime)
		{
			$date = $date->toString(); //toStringGmt
		}

		$this->startDatePlanGmt = DateTime::createFromUserTimeGmt($date); // string or object allowed here
	}

	return clone $this->startDatePlanGmt;
}

Добавить комментарий