I canget the date from db but if I want edit this I can get any date
<DatePicker id="profile_dateOfBirth" dateFormat="yyyy-MM-dd"
className="input__field2dp " name="profile_dateOfBirth"
selected={new Date(emp.profile_dateOfBirth)}
></DatePicker>)}