I have a string variable myString that is actually holding a Date and Time. I would like to convert this string Variable to a DateTime variable name myDate,
I have declared the variables as below
Dim myDate as DateTime
Dim myString as String
myString = "09/02/2010 22:10:41"
I would now like to convert the value contained in myString to a DateTime Variable and assign this value to myDate.
I would be grateful for help with this. Please not I need this for a Visual Basic Project in Visual Studio 2008. Thank you for your help in anticipation.