int hS =_timeValue; //_timeValue 单位毫秒 hS = hS%1000; //毫秒秒 int h = sd/(60*60); //时 int m = sd/60 - h*60; //分 int s = sd - h*(60*60) - m*60; //秒
毫秒 转时、分、秒
最新推荐文章于 2022-08-05 15:58:58 发布
int hS =_timeValue; //_timeValue 单位毫秒 hS = hS%1000; //毫秒秒 int h = sd/(60*60); //时 int m = sd/60 - h*60; //分 int s = sd - h*(60*60) - m*60; //秒