本人设计的带星期的时钟实例
先设置timer1.interval=1000
Enabled = True
Private Sub Timer1_Timer()
Dim X As String
X = Format(Now, "w")
If Format(Now, "w") = 1 Then X = "星期日"
If Format(Now, "w") = 2 Then X = "星期一"
If Format(Now, "w") = 3 Then X = "星期二"
If Format(Now, "w") = 4 Then X = "星期三"
If Format(Now, "w") = 5 Then X = "星期四"
If Format(Now, "w") = 6 Then X = "星期五"
If Format(Now, "w") = 7 Then X = "星期六"
Label1.Caption = Format(Now) + Chr(13) + Chr(10) + X
End Sub