title: Format current date and time in VBScript
body: <p>I was wondering if someone could help me.</p>
  
  <p>I'm very new at ASP I want to format the current date and time as follows:</p>
  
  <pre class="lang-none prettyprint-override"><code>yyyy-mm-dd hh:mm:ss
  </code></pre>
  
  <p>But all i can do is the following</p>
  
  <pre class="lang-vb prettyprint-override"><code>Response.Write Date
  </code></pre>
  
  <p>Can someone help me out please.</p>