[development] Easter problem

Jamie Holly hovercrafter at earthlink.net
Tue Nov 30 19:55:14 UTC 2010


Here's how to calculate it in PHP:

http://abledesign.com/programs/holiday_code.php

Jamie Holly
http://www.intoxination.net
http://www.hollyit.net


On 11/30/2010 2:26 PM, larry at garfieldtech.com wrote:
> The Calendar PHP module is not enabled by default in a stock PHP, so I
> don't know that you can rely on it (unfortunately).  It does have some
> cool stuff in it, though.
>
> --Larry Garfield
>
> On 11/30/10 1:22 PM, Carl Wiedemann wrote:
> >  Does this help? http://php.net/manual/en/function.easter-days.php
> >
> >  On Tue, Nov 30, 2010 at 12:14 PM, Ámon Tamás<amont at 5net.hu
> >  <mailto:amont at 5net.hu>>  wrote:
> >
> >      Hello,
> >
> >      I have the nameday module (http://drupal.org/project/nameday) and I
> >      get a feature request for the Greek namedays. How I see it is based
> >      on the Easter, what is not an easy thing to count.
> >
> >      Well, I want to find some algorithm for Easter, and similar days,
> >      what is can be stored somehow. Maybe it should be a hook or some
> >      other think what can be stored in database.
> >
> >
> >      Thanks
> >
> >      --
> >      Ámon Tamás
> >      Sitefejlesztő és programozó
> >
> >
>


More information about the development mailing list