• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/scrum/form/entityform.php
  • Класс: BitrixTasksScrumFormEntityForm
  • Вызов: EntityForm::getDateEnd
public function getDateEnd(): Datetime
{
	$currentDateTime = new Datetime();

	if ($this->dateEnd)
	{
		return $this->dateEnd;
	}
	else
	{
		return $currentDateTime;
	}
}