Udostępnij za pośrednictwem


Accessing the Computer's Clock (Visual Basic)

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

GmtTime

Determine the local system time

LocalTime

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

TickCount

See Also

Reference

Clock

System.DateTime

Concepts

Formatting Date and Time for a Specific Culture