I can get the seconds from a time stamp with this command long timestamp = System.currentTimeMillis() / 1000; From this time stamp 1465731398013 I will get this result 1465731398. What I need is only the last number, 8 in this case.
Aucun commentaire:
Enregistrer un commentaire