Mega Code Archive

 
Categories / VB.Net / Date Time
 

Create DateTime structure to the specified year, month, day, hour, minute, second, millisecond, and Coordinated Universal Time (

Imports System.Globalization Imports System.Text.RegularExpressions Imports System.Threading Module Example    Public Sub Main()         Dim date1 As New Date(2010, 8, 18, 16, 32, 18, 500, DateTimeKind.Local)         Console.WriteLine("{0:M/dd/yyyy h:mm:ss.fff tt} {1}", date1, date1.Kind)    End Sub End Module