共用方式為


My.Computer.Clock Object Members 

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.

Properties

Property Description

GmtTime

Gets a Date object that contains the current local date and time on this computer, expressed as a UTC (GMT) time.

LocalTime

Gets a Date object that contains the current local date and time on this computer.

TickCount

Gets the millisecond count from the computer's system timer.

See Also

Reference

My.Computer.Clock Object