Greetings! Is there a way in TI-84 Basic to add and subtract from dates? For example, input a date, then add or subtract some number of days, say, 17, and get the new date as a result? Thanks
I have made a program like this before. I will check my calculator archives and be right back with you (I will edit this post when I find the program)
EDIT: I am currently making revisions to the program to make it user-friendly.
EDIT: I have made the program user friendly. It is also in ti-basic. You can add and subtract years, months, days, hours, minutes, and even seconds. Here is the link:
https://www.dropbox.com/s/td9ji2h6kmd0h15/TIME.8xp?dl=0
The original reason why I made this program, was when I was programming clash of clans on the CE. I needed to use that program to know when something finished upgrading.
I hope that program helps. Let me know how it is.
Convert the date to seconds, subtract/add 17*24*60*60 (Converting days->hours->minutes->seconds) from it, convert back to a date.
That's great, thanks, everyone! I'll try out this weekend and let you know how they work.
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
»
Go to Registration page
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum