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"]. 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").shieldDatePicker({
            parseFormats: ["MM.dd.yyyy", "MM-dd-yyyy", "MM/dd/yyyy"]
        });
    });
</script>