While setting value as a new DateTime() method, then the previous value of the given date is set to the component in ASP.NET Core and MVC platform.
1. Please run the MVC and core application with the below code. <ejs-datepicker id="testdate" value="new DateTime(2020,1,12)"/> 2. Run the application and see the DatePicker. 3. January 11, 2020 will be set to the component.
Actual Output: The previous date of the given date is set to the component.
Expected output: Provided date must set to the component.