Template:WarNotebook

From 2008.igem.org

(Difference between revisions)
Line 73: Line 73:
if (d+1<31) { next_day=(d+1)+'_'+m+'_'+y; }
if (d+1<31) { next_day=(d+1)+'_'+m+'_'+y; }
else  
else  
-
{
+
{  
-
if (longmonth(m)) if((d+1)==31) { next_day=(d+1)+'_'+m+'_'+y; }
+
-
else {  
+
var next_month=months[(parseInt(months.indexOf(m,0,false))+1)];
var next_month=months[(parseInt(months.indexOf(m,0,false))+1)];
next_day='1'+'_'+next_month+'_'+y;
next_day='1'+'_'+next_month+'_'+y;
}
}
 +
if (longmonth(m)) if((d+1)==31) { next_day=(d+1)+'_'+m+'_'+y; }
}
}

Revision as of 12:06, 9 October 2008

Gallery Bricks Notebook Team Project Home


Previous day