A friend of mine ask me to make a 24h timer for check how long require some task on his PC. I'll do it my friend, i'm a super expert of this things!  In my mind was easy but seems a timer has a "couple" of rules. $sHour = 23 $sMin = 57 $sSec = @SEC $sHour = StringFormat("%02s", $sHour) $sMin = StringFormat("%02s", $sMin) Do If $sSec <> @SEC Then $sSec = @SEC Select ;~ Case $sSec = "00" And $sMin = "59" ;~