• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/classes/general/taskitem.php
  • Класс: CTaskItem
  • Вызов: CTaskItem::setStartDatePlanUserTimeGmt
public function setStartDatePlanUserTimeGmt($timeString)
{
	try
	{
		$this->ensureDataLoaded();
	}
	catch (TasksException $e)
	{
		return;
	}

	if((string) $timeString == '')
	{
		$this->startDatePlanGmt = null;
		$this->arTaskData['START_DATE_PLAN'] = null;
	}
	else
	{
		$this->startDatePlanGmt = DateTime::createFromUserTimeGmt($timeString);
		$this->arTaskData['START_DATE_PLAN'] = DateTime::createFromUserTime($timeString);
	}
}