Lid |
|
EDIT:
<script type="text/javascript">
<!--
starttime = new Date("9/22/2010 0:00 GMT");
function formattime(time)
{
time = Math.floor(time%60);
if(time < 10) return "0" + time;
return time;
}
function countdown()
{
time = (new Date() - starttime)%129600000;
document.getElementById("lastreset").innerHTML = new Date(new Date() - time).toLocaleString();
document.getElementById("nextreset").innerHTML = new Date(new Date() - time + 129600000).toLocaleString();
time = ((new Date() - time + 129600000) - new Date())/1000;
document.getElementById("countdown").innerHTML = formattime(time/3600) + ":" + formattime(time/60) + ":" + formattime(time);
setTimeout("countdown()",500);
}
//-->
</script>
<script type="text/javascript"> <!-- starttime = new Date("9/22/2010 0:00 GMT"); function formattime (time) { } function countdown() { time = (new Date() - starttime )%129600000; document .getElementById ("lastreset").innerHTML = new Date(new Date() - time).toLocaleString (); document .getElementById ("nextreset").innerHTML = new Date(new Date() - time + 129600000).toLocaleString (); document .getElementById ("countdown").innerHTML = formattime (time/3600) + ":" + formattime (time/60) + ":" + formattime (time); setTimeout("countdown()",500); } //--> </script>
Hij weergeeft het in het nederlands, kan ik dit ook engels maken?
want als ik die toLocalString weghaal krijg ik:
Tue Feb 1 01:00:00 UTC+0100 2011
En ik wil die UTC+ blabla er niet bij hebben haha
|