to_date function

Convert numerical or character date to date.