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. ==== TIME ==== <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> ---- Return current system time </callout> <callout color="green" icon="fa fa-indent" title="Stack Diagram"> ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^ | **** | **→** | **R<sub>time</sub>** | | //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** | //None// || </callout> <callout color="orangered" icon="fa fa-comment" title="Description"> ---- The ''TIME'' function retrieves the time on the calculator. The time is expressed by a real number in the format **HH.MMSS**, where: * **HH** are the hours; * **MM** are the minutes; * **SS** are the seconds. The range of allowable times is **00.0000** to **23.5959**. It is to be noted that the time is always in 24-hour format, regardless of the state of flag [[manual:appendix:flags#flag-41|-41]]. </callout> <callout type="warning" icon="true" title="Compatibility"> ---- ''TIME'' is not fully equivalent to its **userRPL** counterpart. In particular: * in **userRPL** the time value can express fractions of seconds too; in **newRPL** it is not allowed. </callout> <callout type="info" icon="true" title="Usage"> ---- **__Input__** <code> 4: 3: 2: 1: ………………………………………………………………………………………………………… TIME </code> \\ **__Output__** <code> 4: 3: 2: 1: 18.0245 ………………………………………………………………………………………………………… </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_time.txt Last modified: 2021/09/22 14:02by jojo1973