I cant gt my mind around Easter. The date keeps jumping around year to year. Since we know when Heyzoos was born (the day I never get my pony) how come we dont know when he rose? Belive me every day I get a rise I mark it on the calendar. Has the date have somthing to do with seeing his shadow or not when he comes out of his hole?
X

Re: Confused
Hey Don!
It's actually very simple.
Code:function EasterSunday(wYear: word) : TDateTime; const // Gauss numbers for years between 1900 & 2099 M = 24; N = 5; var a, b, c, d, e: integer; wDay, wMonth: word; begin // Gauss formula a := wYear mod 19; b := wYear mod 4; c := wYear mod 7; d := ((19 * a) + M) mod 30; e := ((2 * b) + (4 * c) + (6 * d) + N) mod 7; if ((d + e) > 9) then begin wMonth := iAPR; wDay := d + e  9; end else begin wMonth := iMAR; wDay := 22 + d + e; end; // special considerations if ((d >= 28) or (a > 10)) then begin if ((wDay = 25) and (wMonth = iAPR)) then wDay := 18 else if ((wDay = 26) and (wMonth = iAPR)) then wDay := 19; end; Result := EncodeDate(wYear, wMonth, wDay); end;
Psalm 81:10:
I am the LORD thy God, which brought thee out of the land of Egypt:
open thy mouth wide, and I will fill it.

Re: Confused
Originally posted by WideOpen View PostHey Don!
It's actually very simple.
Code:function EasterSunday(wYear: word) : TDateTime; const // Gauss numbers for years between 1900 & 2099 M = 24; N = 5; var a, b, c, d, e: integer; wDay, wMonth: word; begin // Gauss formula a := wYear mod 19; b := wYear mod 4; c := wYear mod 7; d := ((19 * a) + M) mod 30; e := ((2 * b) + (4 * c) + (6 * d) + N) mod 7; if ((d + e) > 9) then begin wMonth := iAPR; wDay := d + e  9; end else begin wMonth := iMAR; wDay := 22 + d + e; end; // special considerations if ((d >= 28) or (a > 10)) then begin if ((wDay = 25) and (wMonth = iAPR)) then wDay := 18 else if ((wDay = 26) and (wMonth = iAPR)) then wDay := 19; end; Result := EncodeDate(wYear, wMonth, wDay); end;
Wrestling with Demons.
Apostle at LARGE to the Heathen Latin Chicas.
LBCs Token compliance to NAFTA
Comment

Re: Confused
Originally posted by SUV< View PostDon Bozo, my little Easter Bunny! ?Que Pasa?
PS Beware of "Easter Bunnies" offered by Dora Denkins
Wrestling with Demons.
Apostle at LARGE to the Heathen Latin Chicas.
LBCs Token compliance to NAFTA
Comment
Comment