Open shahbazmancho opened 6 years ago
@ShaBax it is your "untilDate" value in Unix TimeStamp Milisecond format truy convert it back to readable time here: https://www.epochconverter.com/
@ShaBax I tried implementing the package but was unable to use. Can you brief on how you used this package?
@ShaBax I tried implementing the package but was unable to use. Can you brief on how you used this package?
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 })
I use that it return correct date
I dont know if i am using the DatePicker in right way or not . Here is the result . when i try to get date it give some number which i am unable to understand