<< addMonth | FB 2.5 Language Reference | addWeek >>
<< addMonth | FB 2.1 Language Reference | addWeek >>

addSecond

Library: fbudf

Added in: 1.0 (Win), 1.5 (Linux)

Better alternative: Internal function DATEADD

Description

Returns the first argument with number seconds added. Use negative numbers to subtract.

Result type: TIMESTAMP

Syntax

 addsecond (atimestamp, number)

Declaration

 DECLARE EXTERNAL FUNCTION addSecond
   TIMESTAMP, INT
   RETURNS TIMESTAMP
   ENTRY_POINT 'addSecond' MODULE_NAME 'fbudf'

back to top of page
<< addMonth | FB 2.5 Language Reference | addWeek >>
<< addMonth | FB 2.1 Language Reference | addWeek >>