Hi,
I am using Syncfusion Datepicker in this I am setting this "MMMM yyyy" format .
I am binding value from database where datatype is nullable DateTime.
So my problem is when I am getting value from database like this "3/1/2020 12:00:00 AM" then in datepicker it shows February 2020 instead of showing March 2020.
It will be helpful if I could get any solution for this.
below I provided code for reference,
<div class="form-group row">
<label class="col-sm-3 form-control-label mt-2">License From</label>
<div class="col-sm-9">
<div class="control-section">
<div id="wrapper" class="datepicker-section">
<div id="datepicker-control">
<SfDatePicker TValue="DateTime?" @bind-Value="image.LicenceFrom" Placeholder="Choose a Date" Format="MMMM yyyy" Start="CalendarView.Year" Depth="CalendarView.Year">
<DatePickerEvents TValue="DateTime?" OnClose="OnCloseHandler"></DatePickerEvents>
</SfDatePicker>
</div>
</div>
</div>
</div>
</div>
Where image is model object it contains
public DateTime? LicenceFrom { get; set; }