In my app i make user to click two times only then next day only they can submit theri details. So i used tinydb to store all teh requirements but i am unable to reset the tinydn value when next day open…![Screenshot_11|550x433]
this is when screen initilize to perform
(upload://rse4YiPyOqcmZIsgeGErQK8aV0e.png)
this is whenever user clicks the submit button
In the community i saw many posts regarding get value only but no post related with reset tinydb after particular time. And one more thing for the date.text i didnt use clock, i have linked with online time taken from worldtimeapi.org
every time when user clicks, i will pop up message like Remaining number of available clicks,So that i am subtracting by 1. It works perfectly but I dont know how to reset the value again to 2 on next day. Thats why in the screen initialize time i have added blocks as posted in the above image but it doesnt work.