VB问题 给你一万秒,变成多少小时,多少分,多少秒?
当你输入10000秒时,直接跳出小时,分钟和秒数
参考答案:Private Sub Command1_Click()
Dim S As Integer
Dim D As Date
S = Int(Text1.Text)
D = TimeSerial(0, 0, S)
MsgBox "共" + CStr(D)
End Sub
当你输入10000秒时,直接跳出小时,分钟和秒数
参考答案:Private Sub Command1_Click()
Dim S As Integer
Dim D As Date
S = Int(Text1.Text)
D = TimeSerial(0, 0, S)
MsgBox "共" + CStr(D)
End Sub