La fecha y la hora son:

var H2 = document.getElementById("h2"); document.write(H2.innerHTML);
var H1 = document.getElementById("h1"); document.write(H1.outerHTML);
var linea1 = location; document.write(linea1.href);
var linea2 = location; document.write(linea2);
var medidas = screen; document.write("Ancho:" + medidas.width); document.write("Alto:" + medidas.height);