Sorry if that question was asked but i was unable to find exact duplicate. I want to have HTML 5 date control that is initialized with date - 19 May 1992. I have tried the following:
<input class="text-box single-line" data-val="true" data-val-date="The field BirthDate must be a date." data-val-required="The BirthDate field is required." id="BirthDate" name="BirthDate" type="date" value="5/19/1992" />
But it's not working. Could anybody give me the right direction?