timer functionality

greetings FF homies There is this functionality that I have struggling to create which is a timer functionality

I want that when a button is clicked a boolean appstate should change from false to true and after some period of time like 30days or so the appstate should change back to false(default) automatically

4 replies