jothi kumar

jothi kumar

  • 1.6k
  • 107
  • 56.3k

how to set date picker as dd/mm/yy in mvc application

Dec 10 2014 1:18 AM
hi to all,
          Here i create datapicker for my start date field and another fields as end date .Now i need to show date format as dd/mm/yy. 
Here i used below script .If i change date  as 13-12-2014 i got error date field must be a date how to resolve this issue.Kindly help me for this

  $('#IssueDate').datepicker({
            dateFormat: 'dd/MM/yy', minDate: 0, maxDate: 0
        });

Answers (2)