+ 2
How do i put a space between the min and hours in the variable z ?
function happen() { var x = new Date().getHours();document.getElementById("show"); var y = new Date().getMinutes();document.getElementById("show"); var z = x , y ; document.write(z) ;
2 Answers
+ 3
var z = x + " " +y ;