TI-BASIC:Gettime

From Learn @ Cemetech
Revision as of 18:16, 24 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

GETTIME.PNG

Command Summary

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

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

Token Size

2 bytes

The getTime command returns the current time that the clock has on the TI-84+/SE 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 use the standard listname(var) to access elements - If you try, it multpilies each element of the clock by the number.

[1]

Related Commands