Doomsday rule: Difference between revisions

m
Line 843:
}}</lang>
 
That said, it's more concise to look up these anchor days. We can use the nonleap year sequence and adjust january and february's values for leap years by adding 1 or 2: (under 1 offset 7 modulo arithmetic).
 
<lang J>get_weekday=: {{ 'Y M D'=. y
6,951

edits