Working with times in VB.

Pis7ftw

Registered User.
Local time
Today, 11:52
Joined
Aug 5, 2012
Messages
37
Hey all!

I can't find much literature beyond the basics on this subject, or the literature is far more advanced and complicated than I need for this project.

I've got a textbox that uses the =DateDiff function to determine the elapsed time between two other textboxes. Essentially what I'm looking for is the proper syntax in VB that essentially states if the output time in this format: hh:mm is greater than :20 then it makes another textbox visible which reads not compliant.

I've got the textbox.visible = true part. I just don't know how to properly code when it comes to times.

An explaination would be helpful!

Appreciated!
 
You need to use the minute function and check if its > 20.
 

Users who are viewing this thread

Back
Top Bottom