Open Marciomacdev opened 6 years ago
Hi , is it working ?
can you please tell me how can i get start and until dates?
Hi! @ShaBax I You can do it ! It works fine for DatepickerRange.
onConfirm={ (start, until) => { // this.setState({startDate: start, untilDate:until}); }}
Thanks for reply yeah i check that but it giving me wrong date
I use code below
onConfirm= {(startDate, untilDate) => //alert( new Date(startDate).toLocaleDateString("en-US"))
this.setState({ startDate:new Date(startDate).toLocaleDateString("en-US"), untilDate:new Date(untilDate).toLocaleDateString("en-US"), openDatepicker: false })
It return correctly date
How can I select old dates ?