SyntaxFix
Write A Post
Hire A Developer
Questions
If you are using new jqueryui above code will not help you use this
$('.datepicker').datepicker({dateFormat:"yy-mm-dd"});