<?php
echo $d = "2005-04-06";
$t = strtotime($d);
echo "<br>该月1号是星期".date("w",strtotime(date("Y-m-01",$t)));
echo "<br>该月共".date("t",$t)."天";
?>
echo $d = "2005-04-06";
$t = strtotime($d);
echo "<br>该月1号是星期".date("w",strtotime(date("Y-m-01",$t)));
echo "<br>该月共".date("t",$t)."天";
?>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货