as_dmy function

Convert input in day-month-year format to date