📅  最后修改于: 2022-03-11 14:52:11.712000             🧑  作者: Mango
//Timestamp to HH:mm:ss format
Long Timestamp = 1633304782;
Date timeD = new Date(Timestamp * 1000);
SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
String Time = sdf.format(timeD);
//RESULT this code convert 1633304782 to 05:46:33