- Модуль: main
- Путь к файлу: ~/bitrix/modules/main/lib/db/sqlhelper.php
- Класс: BitrixMainDBSqlHelper
- Вызов: SqlHelper::addSecondsToDateTime
public function addSecondsToDateTime($seconds, $from = null); /** * Returns function for adding days time interval to $from. ** If $from is null or omitted, then current time is used. *
* $days and $from parameters are SQL unsafe. * * @abstract * @param integer $days How many days to add. * @param integer $from Datetime database field of expression. * * @return string */ public function addDaysToDateTime($days, $from = null) { throw new MainNotImplementedException('Method should be implemented in a child class.'); }