Team:Tsinghua/leftbar

From 2010.igem.org

Revision as of 05:21, 19 July 2010 by Wishyx (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<a href="http://www3.clustrmaps.com/user/19fbb75c"><img src="2010.igem.org-Team-Tsinghua-thumb.jpg" alt="Locations of visitors to this page" /> </a>

Follow us on:

Until the Jamboree:

...... <script type="text/javascript"> var now = new Date(); function createtime(){

var grt= new Date("11/11/2010 20:00:00");

now.setTime(now.getTime()+250); days = (grt - now) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); hours = (grt - now) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (grt - now) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} seconds = (grt - now) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;}

document.getElementById("timeDate").innerHTML = dnum+" DAY";


document.getElementById("times").innerHTML = hnum + ":" + mnum + ":" + snum; }

setInterval("createtime()",250); </script>