<link href="<%=path %>/static/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="<%=path %>/static/css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen">
<div class="input-group date form_date col-md-5" >
<input class="form-control input-md" size="16" type="text" id="birthday1" name="birthday1" >
<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
</div>
<div class="input-group date form_datetime col-md-5" >
<input class="form-control" size="16" type="text" id="accidentDate1" name="accidentDate1">
<span class="input-group-addon"><span class="glyphicon glyphicon-th"></span></span>
</div>
<input class="input-sm date form_date" type="text" />
<script type="text/javascript" src="<%=path %>/static/js/jquery-3.2.1.min.js" charset="UTF-8"></script>
<script type="text/javascript" src="<%=path %>/static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="<%=path %>/static/js/bootstrap-datetimepicker.min.js" charset="UTF-8"></script>
<script type="text/javascript" src="<%=path %>/static/js/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript">
//年-月-日
$(".form_date").datetimepicker({
language: 'zh-CN',
format: 'yyyy-mm-dd',
weekStart: 1,
todayBtn: 1,
autoclose: 1,
todayHighlight: 1,
startView: 2,
minView: 2,
forceParse: 0
});
//年-月-日 时:分:秒
$('.form_datetime').datetimepicker({
language: 'zh-CN',
format: 'yyyy-mm-dd hh:ii:ss',
weekStart: 1,
todayBtn: 1,
autoclose: 1,
todayHighlight: 1,
startView: 2,
forceParse: 0,
showMeridian: 1
});
</script>