September 2001
Intermediate to advanced
768 pages
32h 45m
English
int easter_days([int year]) Gets the number of days after the vernal equinox on which Easter falls in the specified year.
Returns:
Number of days
Description:
easter_days() calculates the number of days after the vernal equinox (March 21) on which Easter falls. If no year argument is provided, the current year is assumed. easter_days() calculates this date as reckoned by the Vatican.
Note:
Wondering why the vernal equinox has anything to do with the celebration of Easter? Do a search on the web for the terms Easter and Nicae.
Version:
3.0.9+, 4+
See also:
To find the UNIX-style timestamp of Easter midnight for the given year:
easter_date()
Example:
<table cellpadding="2" ... |
Read now
Unlock full access