~ 30 sec read

Get Unix Epoch Time on Android

To get a proper Unix epoch time on Android you should divide the current time by 1000 since Android will return the epoch in milliseconds

System.currentTimeMillis() / 1000

The method name also hints about this ;)