毫秒 转时、分、秒

来源:互联网 发布:macbook要下什么软件 编辑:程序博客网 时间:2024/06/12 01:35
 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; //