I want to find out how long someone has been in the App. So my plan is to launch in app startup main.lua…
time_1=os.time()
then whenever the person exits the app I want to record time again…
time_2=os.time()
than (time_2-time_1) to find out user app start time, finish time, and total time. So please can someone tell me how can I record the second time when a user exits the app. Thank you!