This shows you the differences between two versions of the page.
Next revision
|
Previous revision
|
manual:chapter6:system:cmd_dateadd [2021/09/22 12:34] jojo1973 created |
manual:chapter6:system:cmd_dateadd [2021/09/22 12:46] jojo1973 |
---- | ---- |
^ __Input Stack__ ^^ ^ __Output Stack__ ^ | ^ __Input Stack__ ^^ ^ __Output Stack__ ^ |
| **R<sub>date</sub>** | **Num<sub>days</sub>** | **→** | **R<sub>newdate</sub>** | | | **R<sub>date</sub>** | **I<sub>days</sub>** | **→** | **R<sub>newdate</sub>** | |
| //Level 2// | //Level 1// | //→// | //Level 1// | | | //Level 2// | //Level 1// | //→// | //Level 1// | |
| |
<callout color="orangered" icon="fa fa-comment" title="Description"> | <callout color="orangered" icon="fa fa-comment" title="Description"> |
---- | ---- |
The ''DATE+'' function returns a past or future date given a start date and a number of days; if this number is negative, ''DATE+'' calculates a past date. The date is expressed by a real number and its format depends on the state of flag [[manual:appendix:flags#flag-42|-42]]: | The ''DATE+'' command returns a past or future date given a start date and a number of days; if this number is negative, ''DATE+'' calculates a past date. The date is expressed by a real number and its format depends on the state of flag [[manual:appendix:flags#flag-42|-42]]: |
| |
* if the flag [[manual:appendix:flags#flag-42|-42]] is set the date is expressed as **DD.MMYYYY**; | * if the flag [[manual:appendix:flags#flag-42|-42]] is set the date is expressed as **DD.MMYYYY**; |