Set date format into date input