1

I developed an application with Android that saves a timestamp in a txt file and then uploads the file to a server so as I can check data.
The app worked always fine but now I have some strange behavior for one telephone. The time stamps written are e.g. 77204164, 77204290. Since the period is 200 ms more or less it means 77204 UNIX timestamp that converted is GMT: Thursday, January 1, 1970 9:26:44 PM. Why?
I suppose no conversion error since the app worked always fine and the code is simply:

String date= Long.toString(System.currentTimeMillis());

Unfortunately, the phone is far away, the only thing that I know is that the date showing to the user is ok.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Alex Gimondi
  • 84
  • 1
  • 11

0 Answers0