-
timer expression help
I managed to find the following expression here but i need to tweak it a bit. This is currently set to countdown from 05:00. What i need is to add 03 hours in front. so I need it to count down from 03:00:00 or 3:00:00.
any help would be greatly greatly appreciated!
beginMin =5;
beginSec = 0
beginTime = beginMin*60 + beginSec*0;
function digits(myVal,myNumDigits){
var s = myVal.toString();
while (s.length < myNumDigits) s = '0' + s; return s;} currTime = beginTime - time; min = digits(Math.floor((currTime%3600)/60),2); sec = digits(Math.floor(currTime)%60,2); min + ":" + sec thank you!