|
Description |
AddDays() adds a number of days to a date. |
|
|
Syntax |
AddDays(date , days) |
|
|
Parameters |
date The date to which you want to add days.
days A number, positive or negative. A positive number adds days. A negative number subtracts. |
|
|
Return Value |
A date. The date returned is the sum of a specified number of days added to the specified date. |
|
|
Examples |
DateIs(instrument)=begin AddDays(instrument.expire,-(instrument.xdays+1)) end
This example returns today’s date. Obviously, instrument must be a future. |
|
|
Comments |
NA |