Day of the week: Difference between revisions
Content added Content deleted
m (→using DATE iso: removed OVERFLOW from a PRE html tag.) |
m (→old school DOW: removed OVERFLOW from a PRE html tag.) |
||
Line 2,137: | Line 2,137: | ||
if w==0 then w=7; return w /*Sunday=1, Monday=2, ... Saturday=7*/</lang> |
if w==0 then w=7; return w /*Sunday=1, Monday=2, ... Saturday=7*/</lang> |
||
{{out}} using the default input |
{{out}} using the default input |
||
<pre style="height:15ex |
<pre style="height:15ex"> |
||
December 25th, 2011 falls on a Sunday. |
December 25th, 2011 falls on a Sunday. |
||
December 25th, 2016 falls on a Sunday. |
December 25th, 2016 falls on a Sunday. |