Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hard Code FixedTime

Status
Not open for further replies.

capronton

MIS
Jun 28, 2013
159
0
0
US
I am trying to set up a condition to check if the current time is greater 8pm.

How can I code the "8pm" in the if statement below?

If currentTime > 8pm then "No" else "yes
 
If CurrentTime > TimeSerial(20,0,0) Then

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top