-
Moddify expression digital clock need to make go to 100 minutes
Hi guys.
I have reading the forum quite a while now, and found a lot of answers, thank you for that.
I am very good with after effects but i have 0 knowledge about programming.I am trying to modify one expression but i cant do it on my own, so can someone please help me.
I have expression that is basically a 60 minutes clock starting from 0:0:0 and go to 59:59 and than resets and starts from 0 again.
Can i make it to go to 100 minutes, so not to be 1:40:00 but actually 99:59 or pass that mark, but not to transfer to hours but go pass 59 minutes and go to 99 minutes for example or go even beyond thatCan someone help with this, i will highly appreciate it.
Thank you in advance.countspeed = 1;
clockStart =0;//Change the time of startfunction times(n){
if (n < 10) return "0" + n else return "" + n
}clockTime = clockStart +countspeed*(time - inPoint);
if (clockTime < 0){
minus = "-";
clockTime = -clockTime;
}else{
minus = "";
}t = Math.floor(clockTime);
h = Math.floor(t/3600);
min = Math.floor((t%3600)/60);
sec = Math.floor(t%60);
ms = clockTime.toFixed(3).substr(-3);
minus+ times(min) + ":" + times(sec)