Parse the text date into %Y-%m-%d format