LocationMy.Computer.Clock.LocalTime SyntaxDim result As Date = My.Computer.Clock.LocalTime DescriptionThe LocalTime property returns the current date and time as represented by the current time zone settings. Usage at a GlanceThis property is read-only. ExampleThe following code displays the current local time in a message box. MsgBox("Look at your watch; it's " & _ Format(My.Computer.Clock.LocalTime, "h:mm tt")) Related Framework Entries
See AlsoClock Object, GmtTime Property, TickCount Property |