The answers above suggest that the date format can be processed using Javascript. In the case of short European dates (dd / mm / yyyy, unlike the American mm / dd / yyyy), you can get the date value through the datepicker itself, which will process the conversion automatically.
$("#week_field").val( $.datepicker.iso8601Week( $("#date_field").datepicker( "getDate" ) ));
You can set a different date format for datepicker as follows
$.datepicker.setDefaults( {dateFormat : "dd/mm/yy"} );
Dab source share