I have to set the date in my datepicker in dd/mm/yyyy format. Whet I\'m trying to do, with Javascript is this:
var year = 2014; var month = 5; var day = 10
Try this
format: 'DD/MM/YYYY hh:mm A'
As we all know JS is case-sensitive. So this will display
10/05/2016 12:00 AM
In your case is
format: 'DD/MM/YYYY'
Display : 10/05/2016
My bootstrap datetimepicker is based on eonasdan bootstrap-datetimepicker