La fecha y la hora son:

	<script>
		var n1 = 'innerHTML de elemento identificado por id="h2"';
		var c1 = document.getElementById("h2").innerHTML;
		<span id="c1"></span>
		
var n2 = 'outerHTML de elemento identificado por id="h1"'; var c2 = document.getElementById("h1").outerHTML; <span id="c2"></span>
var n3 = "propiedad global: location.href"; var c3 = location.href; <span id="c3"></span>
var n4 = "propiedad global: location"; var c4 = location; <span id="c4"></span>
var n5 = "propiedades globales: screen.width y screen.heigth"; var c5_1 = screen.width; var c5_2 = screen.heigth; <span id="c5"></span>
document.getElementById("c1").innerHTML = "<b>" + c1 + "</b>"; document.getElementById("c2").innerHTML = "<b>" + c2 + "</b>"; document.getElementById("c3").innerHTML = "<b>" + c3 + "</b>"; document.getElementById("c4").innerHTML = "<b>" + c4 + "</b>"; document.getElementById("c5").innerHTML = "<b>width: " + c5_1 + " y heigth: " + c5_2 + "</b>"; </script>