How do i get Month and Date of JavaScript in 2 digit format?
<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 need to display it as <code>01</code>. How to do that?</p>
