• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/db/mysqlisqlhelper.php
  • Класс: BitrixMainDBMysqliSqlHelper
  • Вызов: MysqliSqlHelper::addSecondsToDateTime
public function addSecondsToDateTime($seconds, $from = null)
{
	if ($from === null)
	{
		$from = static::getCurrentDateTimeFunction();
	}

	return 'DATE_ADD('.$from.', INTERVAL '.$seconds.' SECOND)';
}