Predict the date and day

Hello all. I was just thinking about a seemingly easy problem for a computer to solve but, when I am thinking about it, it does not seem that easy.

Please help if possible.

I want to create a program that can predict the day and date any time in future or past from the current day.

example - today is 15.11.2020. --- if I type in the text box 53, and click btnFuture I want the lblFuture to show me what the date would be 53rd day from today. And what day. (similarly for the past.)

1 Like

use the clock component and its methods
http://ai2.appinventor.mit.edu/reference/components/sensors.html#Clock
for example use the AddDays method

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

2 Likes

got it. thanks..again

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.