<input class="datepicker" data-date-format="dd/mm/yyyy" data-val="true" data-val-date="The field Date must be a date." data-val-required="The Date field is required." id="Date" name="Date" type="text">
i have specified data-date-format="dd/mm/yyyy" as guided here. https://github.com/eternicode/bootstrap-datepicker#example
The problem is it is not allowing dd/mm/yyyy format to pass through. I am using asp.net mvc if it matters.