************************* * DBD.82P for the TI-82 * ************************* ACKNOWLEDGMENT DBD.82P was written by Ralph Payne of the TI Graphics Team and is released to the public domain. You may copy and change this program. INTRODUCTION This program calculates the days between dates. HOW TO PLAY DBD This program, DBD, calculates the days between dates. The program prompts you for two dates. After each date it displays the day of the week for that date. After the second date the number of days between the two dates is displayed. The number of days between dates is calculated such that there are 365 days between 1/1/93 and 1/1/94. The algorithm logic recognizes that the year 1900 was not a leap year and that the year 2000 is a leap year. This is because leap years are defined to be those years that are divisible by four unless they are divisible by one hundred unless they are also divisible by four hundred.