Answer the question
In order to leave comments, you need to log in
Creating a data filter by date?
And so I have a project on ASP.Net core MVC 2.1.
And there is the following model:
public class Duty
{
public int DutyId { get; set; }
public DateTime Date { get; set; }
public List<DutyOfPerson> DutyPerson { get; set; }
}
<div class="form-group">
<label class="control-label" for="Birthday">День рождения</label>
<input class="form-control" type="date" data-val="true" id="Birthday" name="Birthday" value="">
<span class="text-danger field-validation-valid" data-valmsg-for="Birthday" data-valmsg-replace="true"></span>
</div>
Answer the question
In order to leave comments, you need to log in
I decided with the help of air-datepicker , at first I wanted to install / bootstrap-datepicker but Libman didn’t want to download it for some reason
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question