Does anyone know if VB has a built in function to validate times ? I checked for IsTime() but not their. If no function exists, does anyone know how to go about vaidating that data is a true time ?
Printable View
Does anyone know if VB has a built in function to validate times ? I checked for IsTime() but not their. If no function exists, does anyone know how to go about vaidating that data is a true time ?
You need to use IsDate():
Code:If IsDate(mytime) Then
Else
End If