复制代码代码如下所示:
功能getthemonth($日)
{
哈尔滨美元=日期('y-m-01,strtotime($日));
最后一天的日期('y-m-d美元= strtotime($,第一天+ 1个月的1天));
返回的数组($天,为最后一天);
}