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:h:mm tt}".


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

<script type="text/javascript">
    $(function () {
        $("#picker").shieldTimePicker({
            format: "{0:h:MM:ss TT}"
        });
    });
</script>