Android Get Current timestamp? October 1, 2022 by Tarik The solution is : Long tsLong = System.currentTimeMillis()/1000; String ts = tsLong.toString();