So, I'm not exactly sure where my problem was, and trying most solutions here didn't actually help much. What did fix it, though, was setting up the datepicker using this syntax:
$("#DatePicker").datepicker({dateFormat: "dd/mm/yy"});
With the ({ }) block.