Team:KULeuven/Tools/New Day/Date Retriever

From 2008.igem.org

(Difference between revisions)
m
m
Line 36: Line 36:
var pastDate = new Date();
var pastDate = new Date();
pastDate.setDate(pageDate().getDate() - ndays);
pastDate.setDate(pageDate().getDate() - ndays);
-
alert(pageDate().getDate().toGMTString());
+
alert(pageDate().getDate());
return pastDate;
return pastDate;
}
}

Revision as of 08:33, 1 August 2008

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