I am trying to retrieve the timestamp of the computer to save it and then compare it to the next time the user launches the application to calculate how long they have been away.
It was easy to get a good number to compare to by measuring a timestamp on the internet clock like this one: http://www.varagtp.com/timestamp.php
But how can I get something similair from the computer clock time? I have tried the Date and Time object but I can only seem to grab either seconds, minutes, hours, date and so on, but not a whole long number like with the timestamp that can easy be compared with another when going in later. Any idea?