On Wed, 25 Jul 2007 09:50:46 +0100, you wrote:

>On Tue, 24 Jul 2007 20:25:05 +0100,  "Ron Jones"
><[EMAIL PROTECTED]> wrote:
>
>
>>
>>Public Function EasterDate(Yr As Integer) As Date
>>
>>Dim d As Integer
>>d = (((255 - 11 * (Yr Mod 19)) - 21) Mod 30) + 21
>>EasterDate = DateSerial(Yr, 3, 1) + d + (d > 48) + 6 - ((Yr + Yr \ 4 + _
>>d + (d > 48) + 1) Mod 7)
>>
>>End Function
>
>What is that VB - urggghhh 
>Can we have it as a javascript, PHP  and Spreadsheet form too
> please ;-)

I've got it in C.   It's part of the source code for CanalPlanAC.

I think we're all using Gauss' algorithm here, aren't we?
-- 
On-line canal route planner: http://www.canalplan.org.uk

(Waterways World site of the month, April 2001)
My Reply-To address *is* valid, though likely to die soon

Reply via email to