title: Batch set date format YYMMDD
body: <p>Does anyone know how to set YYMMDD (not 4xYYYY) as a date format in batch? All i found was yyyymmdd, but I just need the two last numbers in the year. So instead of 2015, I need 15 as the output.</p>
  
  <p>I've got this so far;</p>
  
  <pre><code>set mydate=%date:~6,4%%date:~3,2%%date:~0,2%
  echo %mydate%
  </code></pre>
  
  <p>This gives me todays date in this format; <code>20151214</code>, which isn't what I need. </p>