Brooke Clarke wrote: > It turns out that the Wikipedia web page: > http://en.wikipedia.org/wiki/Zeller's_congruence > has a typo in the equation. It shows the Month term to be 26*(M+1)/10 > which is equivalent to 13*(M+1)/5 <- WRONG! > > The web pages about Zeller at: > http://www.merlyn.demon.co.uk/zeller-c.htm#OIW > Under the title "Other Implementations for Day-of-Week" gives a concise > explanation of Zeller's method. Note the month term is: (13*M-1)/5. > The problem is with the parenthesis. Good catch... Maybe consider adding a comment to the Wikipedia page? Helps others who come later :) Thanks for the follow-up, Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist