Apr 11, 2016 #1 capronton MIS Jun 28, 2013 159 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
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
Apr 11, 2016 #2 S SkipVought Programmer Dec 4, 2001 47,487 US If CurrentTime > TimeSerial(20,0,0) Then Skip, Just traded in my OLD subtlety... for a NUance! Upvote 0 Downvote