I am trying to find how much time has passed since the last game launch and then convert this value to minutes.
So, this is what I have done so far:
- Game saves current timestamp
- Game finds the difference between the saved timestamp and the Date.Now value
- The difference is converted to minutes using the ToTimerMinutes expression
The final expression I use to get elapsed time in minutes looks like this:
However, I am not sure whether this is going to work if more than 60 minutes has passed. Is it going to work if, for example, the last launch date differs for a whole week or even year?
Furthermore, I wonder what's the use of other expressions such as ToTotalMinutes and GetMinutes in this case and if I better use them.