Skip to content
Property Value
Hex Value $EF00
Categories
Localizations
  • FR: défDate(

setDate(

Overview

Sets the date using a year, month, day format. The year must be 4 digits; month and day can be 1 or 2 digit.

Comment:EFXX tokens are TI-84+ and later only

Availability: Token available everywhere.

Syntax

setDate(year,month,day)

Arguments

NameTypeOptional
year
month
day

Location

2nd, catalog, setDate(


Description

The setDate( command sets the date of the clock on the TI-84+/SE calculators. It takes three arguments: the year, the month, and the day. All three of these must be integers; in particular, year must be four digits, and month and day can be one or two digits. They represent the associated value that goes with a respective date. For example, this would set the date to January 1, 2008:

:setDate(2008,1,1

Once you have set the date, you can display it in three different formats on the mode screen using the setDtFmt( command: Month/Day/Year, Day/Month/Year, or Year/Month/Day. Of course, the date will only show up if the clock is on; if you need to turn the clock on, use the ClockOn command or select 'TURN CLOCK ON' , displayed in place of the clock on the mode screen.


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

History

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