datepicker的属性大家可以查看一下:http://api.jqueryui.com/datepicker/(datepicker的API接口),下面是一个简单的例子
<script type="text/javascript" src="<!--{$basePath}-->/application/public/scripts/jquery-1.7.2.js"></script>
<link rel="stylesheet" href="<!--{$basePath}-->/application/public/styles/jquery-ui.css" />
<script src="<!--{$basePath}-->/application/public/scripts/jquery-ui.js"></script>
<script>
$(function() {
$( "#datepicker" ).datepicker({changeMonth:true,changeYear:true,dateFormat:'yy-mm-dd',monthNamesShort:['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'],dayNamesMin:['日','一','二','三','四','五','六'] });
});
</script>