Hi there! I am currently using a bootstrap datepicker and I am attempting to retrieve the value from the datepicker text box in the format of date-month-year
for my controller. However, at the moment, I am only able to obtain values in the format Tue Oct 01 00:00:00 IST 2013
.
I have made several attempts to format the date differently, but unfortunately, I keep receiving the same result. Here is an example of what I have tried:
$(function() {
window.prettyPrint && prettyPrint();
$('#birthday').datepicker({
format: "DD, d MM, yy"
})
});