Team:KULeuven/Tools/New Day/Date Retriever

From 2008.igem.org

(Difference between revisions)
m
m
Line 66: Line 66:
switch(dayOfWeek) {
switch(dayOfWeek) {
case 0: nextWeekMonday = futureDate(1); break;
case 0: nextWeekMonday = futureDate(1); break;
-
default: nextWeekMonday = futureDate(8 - dayOfWeek); break;
+
default: nextWeekMonday = futureDate(8 - dayOfWeek);
}
}

Revision as of 10:16, 31 July 2008

<< return to notebook return to homepage >>
< previous friday ← yesterday tomorrow → next monday >