var d = new Date(); document.write("<i>"+d.toLocaleString()+"<\/i>")