21.10.2013 Views

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Syntax:<br />

addhour (atimestamp, number)<br />

Declaration:<br />

External functions (UDFs)<br />

DECLARE EXTERNAL FUNCTION addHour<br />

TIMESTAMP, INT<br />

RETURNS TIMESTAMP<br />

ENTRY_POINT 'addHour' MODULE_NAME 'fbudf'<br />

Library: fbudf<br />

Added in: 1.0 (Win), 1.5 (Linux)<br />

Better alternative: Internal function DATEADD<br />

addMilliSecond<br />

Description: Returns the first argument with number milliseconds added. Use negative numbers to subtract.<br />

Result type: TIMESTAMP<br />

Syntax:<br />

addmillisecond (atimestamp, number)<br />

Declaration:<br />

DECLARE EXTERNAL FUNCTION addMilliSecond<br />

TIMESTAMP, INT<br />

RETURNS TIMESTAMP<br />

ENTRY_POINT 'addMilliSecond' MODULE_NAME 'fbudf'<br />

Library: fbudf<br />

Added in: 1.0 (Win), 1.5 (Linux)<br />

Better alternative: Internal function DATEADD<br />

addMinute<br />

Description: Returns the first argument with number minutes added. Use negative numbers to subtract.<br />

Result type: TIMESTAMP<br />

Syntax:<br />

addminute (atimestamp, number)<br />

166

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!