Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects timer expression help

  • timer expression help

    Posted by James Lee on December 29, 2007 at 5:05 pm

    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!

    Mike Clasby replied 18 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy