php获取分别当年月日,本月天数
解决方法:
<?php
$y=date("Y",time());//获取当前年份
获取当前月份:http://www.yayihouse.com/yayishuwu/chapter/1870
?>