|
-
Sep 29th, 2008, 09:23 AM
#1
Thread Starter
Addicted Member
How can I manipulate time
How can I manipulate the time so that I can use it for conditional statements?
For example the Time Function and the TimeSerial Function?
For example, the program will prompt a message box if the system time is greater than or equal to 8:00 AM and less than or equal to 12:00 PM
If Time >= TimeSerial(8, 0, 0) Then
MsgBox "Off-Peak"
ElseIf Time <= TimeSerial(12, 0, 0) Then
MsgBox "Off-Peak"
End If
using this code I think is wrong.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|