Monthly Calendar by 0mg

for(;s=readline(i=j=1);print(i%6?v+"\n":v))with(new Date(s+/1/))for(v=toLocaleFormat("%b %Y\n");j==getDate(setDate(j));++i)v+=i>getDay()?(j>9?" ":"  ")+j+++["\n"[i%7]]:"   "

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

download

return to the top page