==== TIME ====
----
Return current system time
----
^ __Input Stack__ ^ ^ __Output Stack__ ^
| **** | **→** | **Rtime** |
| //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// ||
----
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]].
----
''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.
----
**__Input__**
4:
3:
2:
1:
…………………………………………………………………………………………………………
TIME
\\
**__Output__**
4:
3:
2:
1: 18.0245
…………………………………………………………………………………………………………
----
{{page>manual:chapter6:system&nofooter&noeditbtn&inline}}