title: Convert dd-mm-yy to javascript date object
body: <p>I get a date which comes in this format: <code>ddmmyy</code>, and I need to do some validation with it.
  How can I parse it to a javascript date object?</p>
  
  <p>I've tried to search, and there are a lot on the <code>ddmmyyyy</code> format, but not the format I get.</p>
  
  <p>EDIT: Example date: <code>031290</code> = 3.12.1990.</p>