This can't be this hard but here's my problem
I have a date in a TextBox in this format "03081960".
I need to convert the date in the textbox into a date format to use in a DateDiff instruction.
The textbox is named "TextBox16"
What is the code for converting the date in the textbox??
Dim Mydate as date = ????????????????????
Dim TimeDif As Integer = DateDiff(DateInterval.Year, Now, mydate)
I have a date in a TextBox in this format "03081960".
I need to convert the date in the textbox into a date format to use in a DateDiff instruction.
The textbox is named "TextBox16"
What is the code for converting the date in the textbox??
Dim Mydate as date = ????????????????????
Dim TimeDif As Integer = DateDiff(DateInterval.Year, Now, mydate)