You are viewing content for 5.1 | 5.0 | 4.9 | 4.8 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | Previous Releases


addSeconds

Return the sum of a date value and a specified number of seconds.

Example

Add 60 seconds to the dates in SalesAcme.Sales.TIMEID.

addSeconds(Sales_Acme.Sales.TIME_ID, 60)

Syntax

addSeconds(date expr d, int s)
  • d : date to add seconds to
  • s : int seconds to add to d

    Returns

    date

Notes

Adds an integer number (+/-) of seconds to a date given in the format “yyyy-MM-dd”, and returns the final date as a result.


© Incorta, Inc. All Rights Reserved.