Team:KULeuven/Tools/New Day/Date Retriever
From 2008.igem.org
(Difference between revisions)
m |
m |
||
Line 33: | Line 33: | ||
return date; | return date; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 80: | Line 69: | ||
return previous_friday; | return previous_friday; | ||
+ | } | ||
+ | |||
+ | function url_date(date) { | ||
+ | var url = "https://2008.igem.org/Team:KULeuven/"; | ||
+ | url += date.getDate(); | ||
+ | url += '_'; | ||
+ | url += mnames[date.getMonth()]; | ||
+ | url += '_'; | ||
+ | url += date.getFullYear(); | ||
+ | |||
+ | window.location.href=url; | ||
} | } | ||
</script> | </script> |
Revision as of 17:37, 17 July 2008
<< return to notebook | return to homepage >> | ||
<< previous friday | < yesterday | tomorrow > | next monday >> |