Sponsored Content
The Lounge What is on Your Mind? Happy New Year 2020 to all :) Post 303042616 by RavinderSingh13 on Wednesday 1st of January 2020 10:21:43 AM
Old 01-01-2020
Happy New Year 2020 to all :)

Hello All,

I would like to wish A very Happy New Year 2020 to all. May GOD bless all of us with TRUE knowledge, wisdom, great attitude, honesty, hard working capability, great health Smilie

Cheers and let us all have fun/learning/sharing/caring on this GREAT forum UNIX.com, love you UNIX.com always SmilieSmilie

Thanks,
R. Singh
These 6 Users Gave Thanks to RavinderSingh13 For This Post:
 

2 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Happy Holidays and New Year!

To All UNIX Forum Members! Neo has sent you a flash greeting card. You may see it by clicking on the link below: http://www.afreegreetingcard.com/cgi-bin/magiccard.cgi?122920242420332 :) (5 Replies)
Discussion started by: Neo
5 Replies

2. What is on Your Mind?

Welcome 2016, Happy New Year to All

Hello All, I wanted to wish Happy New Year 2016 to every one in this forum. May GOD gives us strength to do hard work, learn new things, enjoy each and every moment of our life, do new adventurous. Take care and enjoy. Here is a famous quote: Thanks, R. Singh "GOD helps those Who help... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies
EASTER_DAYS(3)								 1							    EASTER_DAYS(3)

easter_days - Get number of days after March 21 on which Easter falls for a given year

SYNOPSIS
int easter_days ([int $year = date("Y")], [int $method = CAL_EASTER_DEFAULT]) DESCRIPTION
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(3) to calculate Easter for years which fall outside the range of 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 Equinox. The Equinox is assumed to always fall on 21st March, so the calculation reduces to determining the date of the full moon and the date of the following Sunday. The algorithm used here was introduced around the year 532 by Dionysius Exiguus. Under the Julian Calendar (for years before 1753) a simple 19-year cycle is used to track the phases of the Moon. Under the Gregorian Calendar (for years after 1753 - devised by Clavius and Lilius, and introduced by Pope Gregory XIII in October 1582, and into Britain and its then colonies in September 1752) two correction factors are added to make the cycle more accurate. PARAMETERS
o $year - The year as a positive number. If omitted, defaults to the current year according to the local time. o $method - Allows Easter dates to be calculated based on the Gregorian calendar during the years 1582 - 1752 when set to CAL_EASTER_ROMAN. See the calendar constants for more valid constants. RETURN VALUES
The number of days after March 21st that the Easter Sunday is in the given $year. EXAMPLES
Example #1 easter_days(3) example <?php echo easter_days(1999); // 14, i.e. April 4 echo easter_days(1492); // 32, i.e. April 22 echo easter_days(1913); // 2, i.e. March 23 ?> SEE ALSO
easter_date(3). PHP Documentation Group EASTER_DAYS(3)
All times are GMT -4. The time now is 09:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy