关于FORMAT函数的问题
一个秒表模拟程序,2个按钮用于“开始”和“停止”,问题是用label6.caption表示经过时间的秒是百进制的,如会有这样的:00:02:71,怎么能让他按60进制的显示出来呢?Private Sub Command1_Click()
Command1.Enabled = False
Command2.Enabled = True
Label4.Caption = Time
End Sub
Private Sub Command2_Click()
Command2.Enabled = False
Command1.Enabled = True
Label5.Caption = Time
Label6.Caption = Format(DateDiff("s", Label4.Caption, Label5.Caption), "00:00:00")
End Sub