title: as3: date.getMinutes > how to add zeros ? (05:09 AM = 5:9 AM)
body: <p>How to fix date to retrieve minutes/hours with zeros ?</p>
  
  <p>e.g. it's 05:09 AM >  </p>
  
  <pre><code>trace(_date.getHours()+":"+_date.getMinutes());  //5:9
  </code></pre>
  
  <p>but i want <strong>05:09</strong> instead of 5:9 - so how to add zeros ??</p>
  
  <pre><code>    var _date = new Date();
  
      ...
  
      _min = _date.getMinutes();
  
      //fix date:
                  var _str:String = _min.toFixed(1);
                  _min = Number(_str);
  
      trace(_date.getHours()+":"+_date.getMinutes());
  </code></pre>
  
  <p>= 5:9 ....  -_-</p>
  
  <p>what's wrong ?</p>