<link href="~/Content/BootStrap/css/bootstrap-datetimepicker.min.css" rel="stylesheet" /> <script src="~/Content/BootStrap/js/moment-with-locales.js"></script> <script src="~/Content/BootStrap/js/bootstrap-datetimepicker.min.js"></script> <script src="~/Content/BootStrap/js/bootstrap-datetimepicker.zh-CN.js"></script> <input id="AppDate" name="AppDate" class="form-control size11" placeholder="申请日" value="@(Model.AppDate == null ? "" : ((DateTime)Model.AppDate).ToString("yyyy-MM-dd")) " /> <script> $('#AppDate').datetimepicker( { autoclose: true, minView:"month", language: 'zh-CN', format: "yyyy-mm-dd", todayBtn: true } ); </script>