How to make a counting-up timer(NO download)in less than a minute-Adobe After Effects 2019

Subscribers:
393
Published on ● Video Link: https://www.youtube.com/watch?v=9OfV-3CXKPE



Duration: 1:37
384 views
3


rate = 1;
clockStart = -0;

function padZero(n){
return (n # 10 ? "0" : "") + n;
}

clockTime = clockStart + rate*(time - inPoint);

if (clockTime # 0){
sign = "-";
clockTime = -clockTime;
}else{
sign = "";
}

t = Math.floor(clockTime);
hr = Math.floor(t/3600);
min = Math.floor((t%3600)/60);
sec = Math.floor(t%60);
ms = clockTime.toFixed(3).substr(-3);
sign + padZero(hr) + ":" + padZero(min) + ":" + padZero(sec) + "." + ms

*******(REPLACE the 2 # with greater than sign / shift , )*******
(one on 2nd section another on 4th section)







Tags:
hours
minutes
miliseconds
seconds
counting up
After Effects
Adobe
quick
easy
no download
timer
2019