This is how you can handle it:
Dim sDate As String 'variable where your string data is at
Dim dDate As Date 'date data type for use in commands
dateHolder = sDate
dDate = CDate(sDate) 'convert sDate to Date data type and assign to variable
'You can also use format to put it into any special format you require.
dDate = Format(sDate, "Short Date") 'would return '17/04/2012'
dDate = Format(sDate, "Long Date") 'would return 'April 17, 2012'
dDate = Format(sDate, "yyyy/mm/dd") 'would return '2012/04/17'
Bookmarks