<script>
$(function () {
$("#From_date").datepicker({ dateformat: "yy-mm-dd" }).val()
}
);
</script>
<script>
$(function () {
$("#To_date").datepicker({ dateformat: "yy-mm-dd" }).val()
}
);
</script>
from text box u can change ur id name as "From_date" and to textbx vice versa