//楼主描述 的 (方法)值 只能 精确到 1分钟
int myvalue , hour, min ,secd
hour = myvalue/60;
min = myvalue- myhour*60
public string formatTimeToStr(int h, int m)
{
string s = (h>=0 && h<=9)? ("0" + h.tostring()):(h.tostring()))
s += (m>0 && m<=9)? (":0" + m.tostring()):(":" + m.tostring())
return s += ":00" // default the second is : "00"
}