Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
WolfeReader
· 10y ago · 0 comments
For year_day(2016), I get 145 (using the 1900 option). Can you check your formula?
Comments
[–]
pklausler
10y ago
145 = 5 mod 7, and I'll often reduce terms mod 7 when doing the math mentally.
EDIT: I mean of course that 145 is equivalent to 5 (mod 7).
[–]
WolfeReader
OP
10y ago
Thanks! I can use this now.