Firebird Documentation IndexFirebird 2.1 Language Ref. UpdateExternal functions (UDFs) → addMonth
Firebird Home Firebird Home Prev: addMinuteFirebird Documentation IndexUp: External functions (UDFs)Next: addSecond

addMonth

Library: fbudf

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

Better alternative: Internal function DATEADD

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

Result type: TIMESTAMP

Syntax: 

addmonth (atimestamp, number)

Declaration: 

DECLARE EXTERNAL FUNCTION addMonth
   TIMESTAMP, INT
   RETURNS TIMESTAMP
   ENTRY_POINT 'addMonth' MODULE_NAME 'fbudf'
Prev: addMinuteFirebird Documentation IndexUp: External functions (UDFs)Next: addSecond
Firebird Documentation IndexFirebird 2.1 Language Ref. UpdateExternal functions (UDFs) → addMonth