📅  最后修改于: 2022-03-11 14:52:25.160000             🧑  作者: Mango
Calendar calendar = Calendar.getInstance();
calendar.setTime(new Date(millis));
//And then....
calendar.get(Calendar.HOUR_OF_DAY) //use Calendar.HOUR for AM format
calendar.get(Calendar.MINUTE)
calendar.get(Calendar.SECOND)