Create Date object from String
Imports System Imports System.Globalization Imports Microsoft.VisualBasic Class Sample Public Shared Sub Main() Dim date1 As Date = #5/1/2010 8:30:52AM# End Sub End Class