Sportica   Sportica

毫秒 转时、分、秒

   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; //

 

posted @ 2013-06-09 13:27  qingjoin  阅读(319)  评论(0编辑  收藏  举报
  Sportica