GetHours()

For a Clock object named myClock, use the following syntax:

var clockHours = myClock.GetHours()

Close