Firebird Documentation IndexFirebird 2.1 Language Ref. UpdateExternal functions (UDFs) → addHour
Firebird Home Firebird Home Prev: addDayFirebird Documentation IndexUp: External functions (UDFs)Next: addMilliSecond

addHour

Library: fbudf

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

Better alternative: Internal function DATEADD

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

Result type: TIMESTAMP

Syntax: 

addhour (atimestamp, number)

Declaration: 

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