title: Python date formatting
body: <p>How would I get a function to take the date in terms of YYYY-MM-DD, YYYY/MM/DD and DD.MM.YYYY and return YYYY-MM-DD? 
  I’ve tried a few ways which would work for one of the formats but then not the other </p>