Skip to content
Property Value
Hex Value $EF07
Categories
Localizations
  • FR: AffChDt(

getDtStr(

Overview

Returns a string of the current date in the format specified by integer, where:
1 = M/D/Y2 = D/M/Y3 = Y/M/D

Availability: Token available everywhere.

Syntax

getDtStr(integer)

Arguments

NameTypeOptional
integer

Location

2nd, catalog, getDtStr(


Description

The getDtStr( command returns the current date of the clock on the TI-84+/SE/CE calculators as a string based on the date format that is specified. There are three different date formats available: 1 (M/D/Y), 2 (D/M/Y), or 3 (Y/M/D). You can store this value to a string variable for later use, or manipulate it the same way you do with other strings. Of course, this command only works if the date format has actually been set, so you should use the setDtFmt( command before using it.


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

History

Calculator OS Version Description
TI-84+ 0.01 Added
Authors: Adrien Bertrand