php日期:php的日期处理经验集

//由年、月、日合成日期 function dateserial($nyear,$nmonth,$nday) { date(\"Y/n/j\",mktime(0,0,0,$nmonth,$nday,$nyear)); } $now_rq=date(\"Y/n/j\");//去现在日期 $y... [阅读全文]

php文件操作:PHP日期操作

//返回指定月份第天 function get_the_month_first_day_str($theyear, $themonth) { date("Y-m-d", mktime(0, 0, 0, $themonth, 1, $theyear)); } //返回指定月份最后天 func... [阅读全文]
1 共1条 分1页