6 Replies Latest reply on Nov 29, 2018 10:23 PM by sudeshprathapv

    Creating a Sports Scoreboard Timer in AE

    ItzBlue Level 1

      I have ventured Far and Wide to find the problem with an expression i am using. I am creating a Scoreboard timer for a Soccer game recently recorded. However i have met numerous problems with it. once i get to > 10 mins there is a zero constantly in the minutes column. i see the issues but im not sure what expression i could use to right the wrong. Any help would be greatly appreciated.

       

      sec = Math.floor(time%60);

      min = Math.floor(time/60);

      if(sec<10)

      {"0" + min +":0" + sec;}

      else

      {"0" + min +":" + sec;}

       

      Thank you