easter_days

easter_days

(PHP 4, PHP 5, PHP 7)

easter_daysGet number of days after March 21 on which Easter falls for a given year

Description

int easter_days ([ int $year = date("Y") [, int $method = CAL_EASTER_DEFAULT ]] )

Returns the number of days after March 21 on which Easter falls for a given year. If no year is specified, the current year is assumed.

This function can be used instead of easter_date() to calculate Easter for years which fall outside the range of Unix timestamps (i.e. before 1970 or after 203