title: How do I get Month and Date of JavaScript in 2 digit format?
body: <p>When we call <code>getMonth()</code> and <code>getDate()</code> on <code>date</code> object, we will get the <code>single digit number</code>.
  For example :</p>
  
  <p>For <code>january</code>, it displays <code>1</code>, but I need to display it as <code>01</code>. How to do that?</p>