2个回答
2013-11-18
展开全部
Dim tim As Long
Dim h As Integer, m As Integer, s As Integer
tim = 10000 输入的秒数
h = Int(tim / 3600)
m = Int((tim - h * 3600) / 60)
s = tim - h * 3600 - m * 60
MsgBox h & ":" & m & ":" & s
Dim h As Integer, m As Integer, s As Integer
tim = 10000 输入的秒数
h = Int(tim / 3600)
m = Int((tim - h * 3600) / 60)
s = tim - h * 3600 - m * 60
MsgBox h & ":" & m & ":" & s
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询