Added parse_date(), the reverse of simple_date()