Day of the week: Difference between revisions
Content deleted Content added
Line 3,228: | Line 3,228: | ||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
<lang Phix> |
<lang Phix>-- demo\rosetta\Day_of_the_week.exw |
||
sequence res = {} |
|||
for y=2008 to 2121 do |
for y=2008 to 2121 do |
||
if day_of_week(y,12,25)= |
if day_of_week(y,12,25,true)="Sunday" then |
||
res = append(res,y) |
res = append(res,y) |
||
end if |
end if |