title: Retrieving month from a date using vbscript
body: <p>I have this simple code below for extracting a month from a date ..The issue is it returns just single digit month like 5 or 6 but I want it to return 05 or 06 .Is there any easy way to do it.</p>
  
  <pre><code>Dim date 
  date = DateAdd("m",-1,Date)
  WScript.Echo Month(date)
  </code></pre>
  
  <p>Thanks</p>