addSecondsToDateTime
string public \Bitrix\Main\DB\OracleSqlHelper::addSecondsToDateTime( integer $seconds, integer $from = null );
This non-static method returns SQL function for adding seconds time interval to $from
. If $from
is null or omitted, then current time is used.
Method parameters are SQL unsafe.
Parameters
Parameter | Description | Version |
---|---|---|
$seconds | How many seconds to add. | |
$from | Datetime database field of expression. |
Examples
© «Bitrix24», 2001-2024