checks the dater format (old/new) and converts to date
convert_date(date_str)
date_str
a date string
a correct date