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