欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

PHP cal_days_in_month() 函數(shù)

定義和用法

cal_days_in_month() 函數(shù)針對(duì)指定的年份和日歷,返回一個(gè)月中的天數(shù)。

語(yǔ)法

cal_days_in_month(calendar,month,year)
參數(shù) 描述
calendar 必需。規(guī)定要使用的歷法。
month 必須。規(guī)定月。
year 必須。規(guī)定年。

例子

<?php
$d=cal_days_in_month(CAL_GREGORIAN,10,2005);
echo("There was $d days in October 2005");
?>

輸出:

There was 31 days in October 2005