Guest User

Untitled

a guest
Jul 16th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. long timeStampSec = System.currentTimeMillis()/1000;
  2. String timestamp = String.format("%010d", timeStampSec);
Add Comment
Please, Sign In to add comment