|
-
Jul 6th, 2004, 11:37 AM
#1
Thread Starter
PowerPoster
Determining 2pm?
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
-
Jul 6th, 2004, 11:55 AM
#2
Thread Starter
PowerPoster
Never mind I got it.
Code:
If Now.TimeOfDay.Hours > 13 Then
End If
-
Jul 6th, 2004, 07:56 PM
#3
PowerPoster
Originally posted by jesus4u
Never mind I got it.
Code:
If Now.TimeOfDay.Hours > 13 Then
End If
Minor detail. That's greater than 1.00pm
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
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
|