Team:Tsinghua/leftbar
From 2010.igem.org
(Difference between revisions)
Line 40: | Line 40: | ||
hours = (grt - now) / 1000 / 60 / 60 - (24 * dnum); | hours = (grt - now) / 1000 / 60 / 60 - (24 * dnum); | ||
hnum = Math.floor(hours); | hnum = Math.floor(hours); | ||
- | + | ||
minutes = (grt - now) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); | minutes = (grt - now) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); | ||
mnum = Math.floor(minutes); | mnum = Math.floor(minutes); | ||
- | + | ||
seconds = (grt - now) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); | seconds = (grt - now) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); | ||
snum = Math.round(seconds); | snum = Math.round(seconds); | ||
- | |||
var showtext = " " | var showtext = " " |
Revision as of 05:56, 19 July 2010
Until the Jamboree