毫秒、秒 转成 xx小时xx分钟xx秒

int seconds = (3600000 + 720000 + 12000)/ 1000;
System.err.println(seconds / 3600 +"小时"+(seconds % 3600) / 60 + "分钟" + seconds % 3600 % 60 % 60 + "秒");

你可能感兴趣的:(毫秒、秒 转成 xx小时xx分钟xx秒)