Imports System
Imports System.Globalization
Class Sample
Public Shared Sub Main()
Dim result As Boolean
Dim datetimeVal As DateTime
result = DateTime.TryParse("7/4/2010 12:34:56", datetimeVal)
Console.WriteLine(datetimeVal.ToString())
End Sub
End Class