I am now writing a form that will include the date picker .. and I'm trying to use the element. for now, I would like to restrict it to only select the current date.
for example today is July 7
so the selection on the date picker will be only July 7
Can someone help me with it? I'm new at web application
<div class="form-group ">
<label class="font-weight-bold">Check in</label>
<input type="datetime-local" id="datefield">
</div>
<div class="form-group ">
<label class="font-weight-bold">Check Out</label>
<input type="datetime-local" id="CheckOut">
</div>