I cannot get this script to show the date and time. Tried IE, Safari and Chrome. What is wrong?
<title>Displaying Time and Dates</title>
<h1>Current Date and Time</h1>
now = new Date();
localtime = now.toString();
utctime = now.toGMTString();
document.write(“<p><strong>Local time:</string> “ + localtime + “</p>”);
document.write(“<p><strong>UTC time:</strong> “ utctime + “</p>”);