Gettime

We're glad you came by, but you might find what you're looking for elsewhere.

TI-Basic Developer is not the site it once was. While its information on commands and other calculator features remains almost second-to-none, its forum, archives, and even hosting service, Wikidot, have been decaying for years. The calculator community would love to see what you're working on, or help you in your next coding adventure, but TI-Basic Developer is no longer the place to do it.

Instead, you should head over to Cemetech (primarily American) or TI-Planet (primarily international). Both are active, well-established forums with their own archives, chatrooms, reference material, and abundant coding tools and resources. We'll see you there, we hope.

gettime.png

Command Summary

returns a list formatted as {hours, minutes, seconds}

Command Syntax

getTime()
getTime()

Menu Location

In catalog under G for supported devices and operating systems.

Calculator Compatibility

This command works on all calculators.

Token Size

~8 byte(s)

Returns the current system time as a list of hour, minute, second values. This function was introduced in AMS 2.07 as per tigcc.

getTime()
          {4 26 30}

Advanced Uses


Can be used to determine the length of program execution.

Optimization

Error Conditions

Related Commands

References

estack tag reference listing getTime tags as requiring AMS 2.07

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