Hi guys, how would you guys did to store data e.g. scores/no of coins collected in a text file with timestamp?
To get a timestamp, just use the value returned by os.time() - this will return the number of seconds since January 1, 1970. This makes it easy to compare time stamps - the larger the number, the later the time.
To get a timestamp, just use the value returned by os.time() - this will return the number of seconds since January 1, 1970. This makes it easy to compare time stamps - the larger the number, the later the time.