The getTime Command
GETTIME.PNG

Command Summary

Returns a list with the current time that the clock has on the TI-84+/SE/CE.

Command Syntax

getTime→Variable

Menu Location

This command can only be found in the catalog. Press:

  1. 2nd CATALOG to enter the command catalog
  2. g to skip to commands starting with G
  3. Scroll down to getTime and select it

Calculator Compatibility

TI-84+/SE/CE

Token Size

2 bytes

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

Related Commands

.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.