title: How would I go about fixing this timer in After Effects?
body: <p>I'm attempting to make a timer for my video in AE, but when the timer gets to 10 minutes, an extra 0 is added to the front of the counter.</p>
  <p><a href="https://i.stack.imgur.com/mhW67.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mhW67.png" alt="enter image description here" /></a></p>
  <p>Any idea on how I can fix this?</p>
  <pre class="lang-js prettyprint-override"><code>sek = Math.floor(time%60);
  min = Math.floor(time/60);
  
  
  
  if(sek&lt;10)
  {
      &quot;0&quot; + min +&quot;:0&quot; + sek;
  }
  else
  {
      &quot;0&quot; + min +&quot;:&quot; + sek;
  }
  </code></pre>