La fecha y la hora son:

B - Contenido de outerHTML de elemento identificado por id="h1"

document.writeln(document.getElementById("h1").outerHTML);