<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ATime_And_Date</id>
	<title>TI-BASIC:Time And Date - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ATime_And_Date"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Time_And_Date&amp;action=history"/>
	<updated>2026-05-28T11:22:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Time_And_Date&amp;diff=546&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Time_And_Date&amp;diff=546&amp;oldid=prev"/>
		<updated>2016-02-24T18:06:41Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The TI-84 Plus and TI-84 Plus SE, which have a built-in hardware clock, introduce several commands for dealing with time. Some of these rely on the built-in clock, while others are used for formatting times and dates and could technically have been introduced on earlier calculators. However, the only time/date command that is available on the pre-84 calculators is [[TI-BASIC:Dbd|Dbd(]].&lt;br /&gt;
&lt;br /&gt;
All of these commands except dbd( can be found only through the command catalog (2nd CATALOG). [[TI-BASIC:Dbd|Dbd(]] can also be found in the Finance menu -- 2nd FINANCE on the TI-83, and APPS 1:Finance... on the TI-83+ or higher.&lt;br /&gt;
&lt;br /&gt;
Despite its name, the [[TI-BASIC:Time|Time]] command has nothing to do with the clock. It is a mode setting for sequence graphs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; width: 45%; padding: 0 2%&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Low-Level Commands ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Starttmr|StartTmr]]&amp;#039;&amp;#039;&amp;#039; -- This command returns the current value of a timer that is updated every second when the clock is enabled. This value doesn&amp;#039;t correspond to any actual time, but can be used with [[TI-BASIC:Checktmr|CheckTmr(]] to get a time difference.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Checktmr|CheckTmr(]]&amp;#039;&amp;#039;&amp;#039; -- checkTmr(X) is equivalent to [[TI-BASIC:Starttmr|StartTmr]]-X. This can be used to get the time elapsed since startTmr was used.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Clockon|ClockOn]]&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Clockoff|ClockOff]]&amp;#039;&amp;#039;&amp;#039; -- Enables or disables the hardware clock.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Isclockon|IsClockOn]]&amp;#039;&amp;#039;&amp;#039; -- Tests if the clock is enabled or not.&lt;br /&gt;
&lt;br /&gt;
== Time Commands ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Settime|SetTime(]]&amp;#039;&amp;#039;&amp;#039; -- Sets the current time, in hours, minutes, and seconds. If the clock is enabled, this time will be updated every second.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Gettime|GetTime]]&amp;#039;&amp;#039;&amp;#039; -- Returns the current time as the list {hours, minutes, seconds}. This command is unaffected by time format.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Settmfmt|SetTmFmt(]]&amp;#039;&amp;#039;&amp;#039; -- Sets the time format - 12 hour, or 24 hour.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Gettmfmt|GetTmFmt]]&amp;#039;&amp;#039;&amp;#039; -- Returns this time format setting.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Gettmstr|GetTmStr(]]&amp;#039;&amp;#039;&amp;#039; -- Returns the current time as a string, affected by time format (though you can override it with an optional argument).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; width: 45%; padding: 0 2%&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Date Commands  ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Setdate|SetDate(]]&amp;#039;&amp;#039;&amp;#039; -- Sets the current date (year, month, and day). If the clock is enabled, this date will be updated as needed.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Getdate|GetDate]]&amp;#039;&amp;#039;&amp;#039; -- Returns the current date as the list {year, month, day}. This command is unaffected by date format.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Setdtfmt|SetDtFmt(]]&amp;#039;&amp;#039;&amp;#039; -- Sets the date format - 1 for month/day/year, 2 for day/month/year, or 3 for year/month/day.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Getdtfmt|GetDtFmt(]]&amp;#039;&amp;#039;&amp;#039; -- Returns this date format setting.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Getdtstr|GetDtStr(]]&amp;#039;&amp;#039;&amp;#039; -- Returns the current date as a string, affected by date format (though you can override it with an optional argument).&lt;br /&gt;
&lt;br /&gt;
== Time/Date Manipulation ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Timecnv|TimeCnv(]]&amp;#039;&amp;#039;&amp;#039; -- Converts a number of seconds into a list of {days, hours, minutes, seconds} representing the same time lapse.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Dayofwk|DayOfWk(]]&amp;#039;&amp;#039;&amp;#039; -- Returns the day of week (Sunday through Saturday encoded as 1 through 7) of a specified date.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Dbd|Dbd(]]&amp;#039;&amp;#039;&amp;#039; -- Returns the number of days between two dates -- this command is available on all calculators, not just the 84+/SE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;[[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>