Show pageDiscussionOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ==== →DATE ==== <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> ---- Set current system date </callout> <callout color="green" icon="fa fa-indent" title="Stack Diagram"> ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^ | **R<sub>date</sub>** | **→** | **** | | //Level 1// | //→// | //Level 1// | {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} | **Keyword type** | [[manual:chapter5:basics#commands|Command]] || | **Parallel list processing capabilities** | [[manual:chapter5:listproc#group-4commands-that-set-modes-states|Group 4]] | //Commands that set modes / states// | | **Affected by flags** | [[manual:appendix:flags#flag-42|-42]] | //Date format// | </callout> <callout color="orangered" icon="fa fa-comment" title="Description"> ---- The ''→DATE'' command sets the date on the calculator. 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 cleared the date is expressed as **MM.DDYYYY**. where: * **DD** is the day; * **MM** is the month; * **YYYY** is the year. If **YYYY** is not supplied, the current specification for the year is used. The range of allowable dates is **January 1, 2000** to **December 31, 2090**. Inputs between January 1, 1991 and December 31, 1999 are __silently rejected__ by ''→DATE''; no error is reported and the system date is left unchanged. </callout> <callout type="success" icon="true" title="Compatibility"> ---- ''→DATE'' is fully equivalent to its **userRPL** counterpart. </callout> <callout type="info" icon="true" title="Usage"> ---- **__Input__** <code> « -42 SF @ Set date to european format 24.122021 @ Ho Ho Ho! →DATE » </code> \\ **__Output__** <code> 4: 3: 2: 1: ………………………………………………………………………………………………………… </code> </callout> <callout color="darkgray" icon="fa fa-hand-o-right" title="Related Commands"> ---- {{page>manual:chapter6:system&nofooter&noeditbtn&inline}} </callout> manual/chapter6/system/cmd_setdate.txt Last modified: 2021/09/22 11:44by jojo1973