how to bind date from get API in datepicker in react js

Jul 9 2021 12:31 PM

Hi to all,How to bind the date from GET API in datepicker  in react js. In DB date format is '2021-07-09 00:00:00'. In UI date picker Format 'mm-dd-yyyy' . How to bind the date in datepicker. Please sahre your Idea.

Thankong You.

Answers (1)