I have problem in regarding with converting the datetime to date using a model.
Model from Class Library
public partial class LoanCo
Simple and practical, use asp-format, example:
asp-format
Or:
@Html.TextBoxFor(model => model.MyDate, "{0:dd/MM/yyyy}", new { @class = "form-control" })