Doomsday rule: Difference between revisions
m
→{{header|J}}
m (→{{header|J}}) |
m (→{{header|J}}) |
||
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
<lang J>get_weekday=: {{ 'Y M D'=. y
|