Private Declare Sub GetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME)
Private Type SYSTEMTIME
wYear As Integer
wMonth As Integer
wDayOfWeek As Integer
wDay As Integer
wHour As Integer
wMinute As Integer
wSecond As Integer
wMilliseconds As Integer
End Type
Private Sub Timer1_Timer()
Dim a As SYSTEMTIME
GetSystemTime a
With a
Label1 = .wHour & ":" & .wMinute & ":" & .wSecond & ":" & Format(.wMilliseconds / 1000, "0.0")
End With
End Sub
这个程序还需要一个清零按钮,怎么添加啊