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

	return 'DATEADD(second, '.$seconds.', '.$from.')';
}