easter_date

easter_date

(PHP 4, PHP 5, PHP 7)

easter_dateGet Unix timestamp for midnight on Easter of a given year

Description

int easter_date ([ int $year = date("Y") ] )

Returns the Unix timestamp corresponding to midnight on Easter of the given year.

Warning

This function will generate a warning if the year is outside of the range for Unix timestamps (i.e. before 1970 or after 2037).

The date of Easter Day was defined by the Council of Nicaea in AD325 as the Sunday after the first full moon which falls on or after the Spring