Template:Team:Edinburgh/Code
From 2013.igem.org
(Difference between revisions)
Hristianita (Talk | contribs) |
Hristianita (Talk | contribs) |
||
Line 376: | Line 376: | ||
var vLastDay=new Date(Cal.Year,Cal.Month, Cal.GetMonDays()).getDay(); | var vLastDay=new Date(Cal.Year,Cal.Month, Cal.GetMonDays()).getDay(); | ||
alert(vLastDay); | alert(vLastDay); | ||
+ | if (vLastDay == 0) vLastDay = 7; | ||
for (i=vLastDay;i<7;i++) | for (i=vLastDay;i<7;i++) | ||
{ | { |
Revision as of 13:38, 29 September 2013