[Remind-Fans] orthodox easter (pascha) calculation. tested and NOT working.

gino.aerografia gino.aerografia at gmail.com
Thu Jun 1 17:02:58 EDT 2017


Hi, sorry for the trouble, i thought i had corrected some typing errors
and miscalculations in the original post, in later messages, but i can't
be sure. Please, try this code, and let me know about the results.
Thank you!

SET cal_d 44-((((year(today())-2)%19)*11)%30)
IF cal_d <= 20
   SET pas_d date(year(today()),04,cal_d)+13
ELSE
    IF cal_d <= 30
    SET pas_d date(year(today()),03,cal_d)+13
    ELSE 
    SET pas_d date(year(today()),04,cal_d-30)+13
    ENDIF
ENDIF
SET Easterdate evaltrig("Sunday",pas_d)
REM [Easterdate] MSG Holy Pascha
SET Gdate date(year(today()),04,23)
IF (Easterdate -40 <= Gdate && Gdate <= Easterdate)
   REM Mon [Easterdate] MSG Saint George's Day
ELSE
   REM 23 Apr MSG Saint George's Day
ENDIF


More information about the Remind-fans mailing list