Code:
seconds = totTime - intCnt
minutes = seconds \ 60
seconds = seconds Mod 60
hours = minutes \ 60
minutes = minutes Mod 60
frmTimer.Caption = hours & ":" & minutes & ":" & seconds & " Until Shutdown"
Hope this helps.