a single digit like this: 01 var minutes = myDate.getMinutes()>9 ? myDate.getMinutes() : "0"+myDate.getMinutes(); //Gets the seconds and adds a zero if the number is a single digit like this: 01 var seconds = myDate.getSeconds()>9 ? myDate.getSeconds() : "0"+myDate.getSeconds(); // Displays the time like this: 00 . 01 : 01 myTime = (hours + " . " + minutes + " : " + seconds);
web counter

 

 

about me

rugby

multimedia
school projects
Game