title: getMinutes() 0-9 - How to display two digit numbers?
body: <pre><code>var date = "2012-01-18T16:03";
  var date = new Date(date);
  
  console.log(date.getMinutes());
  console.log(date.getMinutes().length)
  </code></pre>
  
  <p>This returns 3. </p>
  
  <ol>
  <li>How do I make it return '03'? </li>
  <li>Why does <code>.length</code> return undefinded? </li>
  </ol>
  
  <p>I tried this, but it did not work: </p>
  
  <p>If <code>strlen == 1</code> then <code>num = ('0' + num);</code></p>