Day of the Week by *yuko*

do input""y,m,d:y=y-!m>2:?mod(y+int(y/4)-int(y/100)+int(y/400)+int((m+1+12*!m>2)*2.6-y^0)+d,7)loop

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

download

return to the top page