Local $begin = TimerInit() Sleep(3000) Local $dif = TimerDiff($begin)/1000 MsgBox(0, "Time Difference", $dif)