Discordian date: Difference between revisions
J: bug fix
(J: bug fix) |
(J: bug fix) |
||
Line 6:
=={{header|J}}==
<lang j>
bs=: ((#:{.) + 0 j. *@[ * {:@]) +.
disc=: ((1+0 73 bs[ +^:(58<]) -/@todayno@(,: 1 1,~{.)@]) ,~1166+{.@])~ leap</lang>
Example use:
|