parseFormats

Array which contains list of date formats used to parse the value set with value() method or by direct typed user input. The default value is: ["MM/dd/yyyy h:mm tt"]. If the entered string does not match any of the provided format the null will be set as a selected date.


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

<script type="text/javascript">
    $(function () {
        $("#picker").shieldDateTimePicker({
            parseFormats: [""MM/dd/yyyy h:mm tt"", ""MM/dd/yyyy h:MM:ss TT"]
        });
    });
</script>