TI-BASIC:Getdate

From Learn @ Cemetech
Jump to navigationJump to search

GETDATE.PNG

Command Summary

Returns a list with the current date that the clock has on the TI-84+/SE.

Command Syntax

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

Calculator Compatibility

TI-84+/SE

Token Size

2 bytes

The getDate command returns the current date that the clock has on the TI-84+/SE calculators in list format -- {year, month, day}. You can Store this list to a variable for later use, or manipulate it the same way you do with other lists. Of course, this command only works if the date has actually been set, so you should use the SetDate( command before using it.

An interesting note about this command is that you cannot use the standard listname(var) to access elements - If you try, it multpilies each element of the clock by the number.

[1]

Related Commands