Timer that records time outside the app

So I plan to code a tamagotchi that can record the time when the app is closed, however it cause an error. Could someone help me with the error?


You cannot store an instant to a tinydb value

The problem is here:

Clock.Duration_start needs an instant (not a string).

Hi after taking your suggestion, the label itself still would not change its text a couple minutes after the app is closed


, is there any way i could fix it

Try this:

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