Can someone please tell me how to figure out if the current date and time is greater than 2pm today?
I noticed that the hour property of the datetime just gives me the number 2. That doesn't tell me if it is PM or AM.
Thanks
Printable View
Can someone please tell me how to figure out if the current date and time is greater than 2pm today?
I noticed that the hour property of the datetime just gives me the number 2. That doesn't tell me if it is PM or AM.
Thanks
Never mind I got it.
Code:If Now.TimeOfDay.Hours > 13 Then
End If
Minor detail. That's greater than 1.00pm:bigyello:Quote:
Originally posted by jesus4u
Never mind I got it.
Code:If Now.TimeOfDay.Hours > 13 Then
End If