convert string to datetime visual basic code example
Example 1: string to date vb
Dim iDate As String = "05/05/2005"
Dim oDate As DateTime = Convert.ToDateTime(iDate)
MsgBox(oDate.Day & " " & oDate.Month & " " & oDate.Year)
Example 2: c# string to datetime
.Net str to DateTime