Hey guys, I'm new to VB.NET and really unfamiliar with the syntax.
I made one button, so when it's clicked, variable:
StartTime = Now
Similarly, another button when clicked is:
EndTime = Now
How do I find the elapsed time? i.e.
ElapsedTime = EndTime - StartTime?
I get the msg "Operator is not valid for type 'Date' and 'Date'."
Help this newbie with such a simple question please!
I made one button, so when it's clicked, variable:
StartTime = Now
Similarly, another button when clicked is:
EndTime = Now
How do I find the elapsed time? i.e.
ElapsedTime = EndTime - StartTime?
I get the msg "Operator is not valid for type 'Date' and 'Date'."
Help this newbie with such a simple question please!