cal_days_in_month(CAL_GREGORIAN, date('m',time()), date('Y',time()));
date_default_timezone_get()
用 date_default_timezone_set()
cal_days_in_month(CAL_GREGORIAN, date('m',time()), date('Y',time()));
date_default_timezone_get()
用 date_default_timezone_set()
转载于:https://www.cnblogs.com/ldms/p/3146775.html