Team:KULeuven/Tools/New Day/Date Retriever
From 2008.igem.org
(Difference between revisions)
m |
m |
||
Line 42: | Line 42: | ||
function dateFuture(ndays) { | function dateFuture(ndays) { | ||
var futureDate = new Date(); | var futureDate = new Date(); | ||
+ | alert(pageDate().toGMTString()); | ||
futureDate.setDate(pageDate().getDate() + ndays); | futureDate.setDate(pageDate().getDate() + ndays); | ||
alert(futureDate.toGMTString()); | alert(futureDate.toGMTString()); |
Revision as of 16:58, 1 August 2008
<< return to notebook | return to homepage >> | ||
< previous friday | ← yesterday | tomorrow → | next monday > |