format_date function

Convert dates from yyyy-mm-dd format into 20APR2019 format Datetime format removes the time and outputs date in the same way Able to handle truncated dates as well (e.g. just the year or year and month)