Adds a certain number of days to a date.
Kernel.bdh
IncDate( in nDate: number, in nDays: number ): number;
increased date
Parameter | Description |
---|---|
nDate | Input date with format YYYYMMDD |
nDays | Number of added days |
dcltrans transaction TIncDate var nNewDate: number; begin nNewDate := IncDate(19961015, 45); write("newdate = "); write(nNewDate); writeln; end TIncDate;
newdate = 19961129