Sponsored Content
The Lounge What is on Your Mind? RudiC reaches over 4000 thanks in 6 years. Post 303020189 by Don Cragun on Saturday 14th of July 2018 09:08:02 PM
Old 07-14-2018
Well done indeed!

Congratulations RudiC.
This User Gave Thanks to Don Cragun For This Post:
 

7 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

DLT 4000 drivers?

I am using a Quantum DLT 4000 tape drive on a PowerMac G4 with OS 10.1.5 I'd like to use the Terminal application, which is based on BSD 4.4, to see the tape drive and write backup tapes to it. First, is there a way to list all the devices attached to the computer? And secondly, is there a way... (0 Replies)
Discussion started by: derekc132002
0 Replies

2. UNIX for Advanced & Expert Users

Extendnet 4000 login Problem/Feature?

Hi there! I've been given a box that works as a DSL gateway/firewall running Extendnet 4000. Now, when logging in to the box through the web interface using default login (admin/admin) everything is fine. When I log in locally though, a wierd thing happens. My login seems to be successful,... (2 Replies)
Discussion started by: D-Lexy
2 Replies

3. UNIX for Dummies Questions & Answers

Unix Command to separate this years files and last years?

Hello - I have a folder that contains files from 2003 till 2010. I am trying to figure out a command that would seperate each years file and show me a count? Even if i can find a command that would give me year by year count, thats good enough too. Thanks (8 Replies)
Discussion started by: DallasT
8 Replies

4. Shell Programming and Scripting

Split string after 4000 char

Hi everybody! I have a large comma separated text file. This file incluede some column which largest than 4000 character(this is not the last column). I tried with sed but i can't do it. I would like to split to 4000 char this column. Thank You for your help! for example: (5 Replies)
Discussion started by: snayper
5 Replies

5. What is on Your Mind?

Congrats to RudiC - 3000 Thanks!

Congratulations to RudiC for crossing the magic boundary of being thanked 3000 times! As someone who often has profited greatly from your insight i stand in awe before this achievement. Thank you for your ongoing dedication and thank you for your willingness to share your knowledge! bakunin ... (15 Replies)
Discussion started by: bakunin
15 Replies

6. What is on Your Mind?

Congratulations RudiC for completing 4000+ THANKS in forums.

Hello All forum members, I would like to take this opportunity to THANK RudiC for his tremendous achievement, guidance, help for helping in forums, let us join our hands together for his GREAT achievement :b: @Rudi sir, How are you sir? you ROCK, please keep up the great work sir :b: ... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies

7. What is on Your Mind?

Don tops the 4000+ thanks...

Sometime today Don Cragun reached 4000+ thanks from different folks. Well done Don, I have learnt a lot from you and other guys on here. Big thanks from we who have benefitted from your expertise. (6 Replies)
Discussion started by: wisecracker
6 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 06:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy