GetTickCount

function GetTickCount: integer; Description: Returns the ticks count - 1 second = 60 ticks. Similar to the Ticks argument of AppOnIdle, but can be called at any time.