title: VB Script date formats "YYYYMMDDHHMMSS"
body: <p>As title surgest I need to fomat the now () function to display on the format "YYYYMMDDHHMMSS"</p>
  
  <p>I did have a play about trying to split it out but this drops leading zeros that I need to retain </p>
  
  <p>example below mydt was "27/02/2015 13:02:27"</p>
  
  <pre><code>mydt = now() 
  
  MSGBOX Year(mydt)&amp; Month(mydt)&amp; Day(mydt)&amp; Hour(mydt)&amp; Minute(mydt)&amp; second(mydt)
  </code></pre>
  
  <p>this returns "201522713227"</p>
  
  <p>i need it to return "2015<strong>0</strong>22713<strong>0</strong>227" i could use a if &lt; 10 but there must be a slicker way </p>