Day of the Week by nn

y=split("144025036146",a,_)$1,$0=_($3-($2<3||y%4)+a[$2]+--y%100*4-y%4*2-y%400%7)%7

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page