Format date data received from the server
Format date data received from the server

When server validation is invoked, the date returned is in yyyy-mm-dd format. We need to reformat it to our display format.
GOVTNZ/userforms-datepicker,GOVTNZ/userforms-datepicker,GOVTNZ/userforms-datepicker