I have an ASP.NET Core 6.0 MVC project. I am getting date data from sql and show it in html page. Problem is, my date input is never filled up. HTML part is:
<input type="datetime-local" value="@Model.Date" class="inputwidth">
My date format from model is day.month.year 00:00:00
I used a couple of formats but none worked. What format should I use and how can I convert it?