»

LJ::days_in_month

LJ::days_in_month — Figures out the number of days in a month.

Use

LJ::days_in_month(month, year);

Arguments

  • month. Month

  • year. Year. Necessary for February. If undefined or zero, function will return 29.

Source:

cgi-bin/ljlib.pl

Returns:

Number of days in that month in that year.