Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

mcal_days_in_month

(PHP 3 >= 3.0.13, PHP 4, PECL)

mcal_days_in_month --  Returns the number of days in a month

Description

int mcal_days_in_month ( int month, int leap_year )

mcal_days_in_month() returns the number of days in the month month, taking into account if the considered year is a leap year or not.



add a note add a note User Contributed Notes
mcal_days_in_month
tmhesket_AT_BRADFORDdot_ac_DOTuk
14-May-2002 09:13
In case anyone gets confused in the same way I did, the "int leap year" parameter is not for the year itself.

"int leap year" is a boolean indicating whether the year in question is a leap year.

If you have $month and $year, you can find out the number of days easily:

mcal_days_in_month($month, mcal_is_leap_year($year))

mcal_delete_calendar> <mcal_day_of_year
Last updated: Fri, 26 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571