Hi ,
Today is 3/08/2023. I tried to create 2 DateTimePicker controls as code below
const effDate2 = new Date( "2023-03-03");
consttoday = newDate();
<div className="mb-3">
<Label> Effective Date </Label>
<DatePicker name = 'effectiveDate' value ={effDate2} onChange={handleDatePickerChange} />
</div>
<div className="mb-3">
<Label> Today </Label>
<DatePicker name = 'today' value ={today} onChange={handleDatePickerChange} />
</div>
The Effective Date control show : while the Today Date show
Can you pls advise me why the value of Effective Date changed ?
Thanks,
Thao Phan
I am also observing the similar issue. Also on mouse hover on back months, it is showing the incorrect date on mouse hover.