Accessing the Computer's Clock

The My.Computer.Clock object provides properties for accessing the current local time and Universal Coordinated Time (equivalent to Greenwich Mean Time) from the system clock.

Remarks

This table lists common tasks involving the My.Computer.Clock object and points to topics demonstrating each.

To

See

Determine the GMT Time

My.Computer.Clock.GmtTime Property

Determine the local system time

My.Computer.Clock.LocalTime Property

Determine the number of ticks that have occurred since the computer was started

My.Computer.Clock.TickCount Property

See Also

Concepts

Formatting Date and Time for a Specific Culture

Reference

My.Computer.Clock Object

My.Computer.Clock Object Members

System.DateTime