Date.Now, UtcNow and Today
Imports System Imports System.Globalization Imports Microsoft.VisualBasic Class Sample Public Shared Sub Main() Dim date1 As Date = Date.Now Dim date2 As Date = Date.UtcNow Dim date3 As Date = Date.Today End Sub End Class