Skip to content
Property Value
Hex Value $EF0A
Categories
Localizations
  • FR: affHeure

getTime

Overview

Returns a list giving the time according to the current value of the clock. The list is in {hour,minute,second} format. The time is returned in the 24 hour format.

Availability: Token available everywhere.

Syntax

getTime

Location

2nd, catalog, getTime


Description

The getTime command returns the current time that the clock has on the TI-84+/SE/CE calculators in list format — {hour, minute, second}. You can store this list to a variable for later use, or manipulate it the same way you do with other lists. Of course, this command only works if the time has actually been set, so you should use the setTime( command before using it.

An interesting note about this command is that you cannot index individual elements directly; if you try, each element of the clock is multiplied by the index. You can, however, call the demand and thus store the result in Ans, and then retrieve the individual elements.

SCREEN01.JPG


Source: parts of this page were written by the following TI|BD contributors: burr, DarkerLine, GoVegan, Jonathan King, kg583, RandomProductions, Socks.

History

Calculator OS Version Description
TI-84+ 0.01 Added
Authors: Adrien Bertrand