Apps do not update time without restart?

Hi!

My app has a feature that is supposed to change every day at midnight, like a “Question of the day”.

However, the app only seems to update time when I truly close it (by sliding up) and open it again.

For a simpler example:

Today is the 8th of april, 7:24pm. If I set a text on my home screen to show the current date/time, it will show 8th of april, 7:24pm.

if I don’t force close the app at any point and open it tomorrow, it will still show 8th of april, 7:24pm.

Is this how the mobile apps are supposed to behave? If so, how would you guys set up a “Daily Question” workflow without making the user force close the app every time?

Thanks.

I would update the time every couple of seconds..
”do this every XXXs” → make changes to ___ and set it to current date and time