VisualBasic.NET
Dim Time1 As Long Time1 = System.Environment.TickCount Time1 = System.Environment.TickCount - Time1