Firebird Documentation IndexFirebird 2.5 Language Ref. UpdateExternal functions (UDFs) → addWeek
Firebird Home Firebird Home Prev: addSecondFirebird Documentation IndexUp: External functions (UDFs)Next: addYear

addWeek

Library: fbudf

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

Better alternative: Internal function DATEADD

Description: Returns the first argument with number weeks added. Use negative numbers to subtract.

Result type: TIMESTAMP

Syntax: 

addweek (atimestamp, number)

Declaration: 

DECLARE EXTERNAL FUNCTION addWeek
   TIMESTAMP, INT
   RETURNS TIMESTAMP
   ENTRY_POINT 'addWeek' MODULE_NAME 'fbudf'
Prev: addSecondFirebird Documentation IndexUp: External functions (UDFs)Next: addYear
Firebird Documentation IndexFirebird 2.5 Language Ref. UpdateExternal functions (UDFs) → addWeek