Compare two different dates in Visual Basic

15 pts.
Tags:
Visual Basic
I want to compare the time a date parameter was validated with with a known preset time that changes each day. So if a person validates the date parameter before 09:00 on a form (so between 00:00 and 09:00) it will generate a scripted message.


Software/Hardware used:
VB Scripting
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • carlosdl
    So, what exactly do you need help with?
    84,580 pointsBadges:
    report
  • ToddN2000
    What does your code look like now? Post it and we can help you straighten it out.
    129,715 pointsBadges:
    report
  • GeorgeCoz

    Discharge_date=Scripts.SessionTime  

    If Scripts.SessionTime < Date.Time (Date,hour (9))  I want this to be todays date at 09:00Then
     'Scripts.MsgBox "Please complete after NUM returns from Bed Meeting after 09:00"
     'Else Return_value ""
      'End IF

    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: