On invalid date format, return the current datetime
After the user selected a date, display it directly into the input field