how i will change datepicker format to mm-dd-yy i have change it but while i post it post 00-00-00

here is my code please some one help me....

<script>
$(document).ready(function() {
  $("#admission").datepicker({dateFormat: 'mm-dd-yy'});
//  String date = dateFormat.toString('dd-mm-yy')





});
</script>

What datepicker
there is not enough information provided to give assistance

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.