format

String contains the format of the date which is assigned to the hidden input. This formatted value is submitted on form submit. The default value is "{0:MM/dd/yyyy}".


<input id="picker" ></input>

<script type="text/javascript">
    $(function () {
        $("#picker").shieldDatePicker({
            format: "{0:yyyy/MM/dd}"
        });
    });
</script>