Skip to content
Property Value
Hex Value $EF04
Categories
Localizations
  • FR: défFmtHr(

setTmFmt(

Overview

Sets the time format. 12 = 12 hour format24 = 24 hour format

Availability: Token available everywhere.

Syntax

setTmFmt(integer)

Arguments

NameTypeOptional
integer

Location

2nd, catalog, setTmFmt(


Description

The setTmFmt( command sets the time format of the clock on the TI-84+/SE calculators when displaying the time on the mode screen. There are two different formats available, and you simply use the respective value (can be either a literal number or a variable) to display the desired one: 12 (12 hour) or 24 (24 hour). For example, this would set the time format to 24 hour:

:setTmFmt(24

In order for the time format to work, you need to set the time using either the setTime( command, or by going into the set clock menu (accessible by pressing ENTER on the 'SET CLOCK' message that is displayed at the bottom of the mode screen). Of course, the time will only show up if the clock is on; if you need to turn the clock on, use the ClockOn command, or scroll down to the 'TURN CLOCK ON' message that is displayed in place of the clock on the mode screen and press ENTER twice.


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

History

Calculator OS Version Description
TI-84+ 0.01 Added

Last update: September 30, 2023 15:38:51
Created: February 23, 2023 23:15:01
Authors: Adrien Bertrand