• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/item/converter/task/template/totask.php
  • Класс: BitrixTasksItemConverterTaskTemplateToTask
  • Вызов: ToTask::getDateAfter
static function getDateAfter(DateTime $now, $seconds)
{
	$then = clone $now;
	$then->add('T'.$seconds.'S');
	$then->stripSeconds();

	return $then;
}