Timer System When App Isnt Working

Hello, I’m trying to set up a timer but it should be working when the app isn’t running. probably timer generally will be on year format so I’m thinking about cloud systems but I don’t know where can I start.

The class you want is System.DateTime and System.TimeSpan.

Just record the start time and use the current time minus the start time to compute time elapsed.

If you need the operating system to wake up or launch your app, that is completely outside of Unity. Look up local notifications to find out how it needs to be set up for your particular operating system.

Thanks