احمد صدقی

احمد صدقی

  • NA
  • 106
  • 17.3k

How can I Use Timepicker in MVC5?

Mar 15 2019 12:43 AM
I used this, it only gives me a datepicker,
 
<script src="~/Scripts/jquery-ui-1.12.1.min.js"></script>
 
 <script>
        $(function () {
            $(".datepicker").datepicker(
                {
                    dateFormat: "yy/mm/dd ",
                    timeFormat: "hh/mm",
                    changeTime: true,
                    changeMonth: true,
                    selectpicker : true,
                });
        });
    </script>

Answers (4)