==== DATE ==== ---- Return current system date ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^ | **** | **→** | **Rdate** | | //Level 1 / Argument 1// | //→// | //Level 1// | {{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}} | **Keyword type** | [[manual:chapter5:basics#functions|Function]] || | **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// | ---- The ''DATE'' function retrieves 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. The range of allowable dates is **January 1, 2000** to **December 31, 2090**. ---- ''DATE'' is fully equivalent to its **userRPL** counterpart. ---- **__Input__** 4: 3: 2: 1: ………………………………………………………………………………………………………… -42 SF DATE \\ **__Output__** 4: 3: 2: 1: 22.092021 ………………………………………………………………………………………………………… ---- {{page>manual:chapter6:system&nofooter&noeditbtn&inline}}