TI-BASIC:Gettmfmt

From Learn @ Cemetech
Jump to navigationJump to search

GETTMFMT.PNG

Command Summary

Returns the time format of the clock on the TI-84+/SE.

Command Syntax

getTmFmt→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 getTmFmt( and select it

Calculator Compatibility

TI-84+/SE

Token Size

2 bytes

The getTmFmt( command returns the current time format of the clock on the TI-84+/SE calculators as an integer. There are two different time formats available: 12 (12 hour) and 24 (24 hours). You can store this value to a variable for later use. Of course, this command only works if the time format has actually been set, so you shold use the SetTmFmt( command before using it.

Related Commands