Mega Code Archive

 
Categories / VB.Net / Date Time
 

Create DateTime structure to the specified year, month, day, hour, minute, and second

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, 0)         Console.WriteLine(date1.ToString())    End Sub End Module