selvi jp

selvi jp

  • NA
  • 323
  • 77.8k

get date from db in react js

Jul 6 2021 9:37 AM

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>)}


Answers (1)