addYear

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

addYear

Library: fbudf

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

Better alternative: Internal function DATEADD

Description

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

Result type: TIMESTAMP

Syntax

 addyear (atimestamp, number)

Declaration

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

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