This question is posted on several communities one here others are all in a webdev commmunity.


Its my first time using JavaScript I'm trying to make the utctime and localtime to appear, but its not showing what did I do wrong here?
http://i53.tinypic.com/358a22w.png My work
Code:
<HTML>
<head><title>Displaying Times and Dates</title></head>
<body>
<h1>Current Date and Time</h1>
<p>
<script language="JavaScript" type="text/javascript"> 
now = new Date(); 
localtime = now.toString();
 utctime = now.GMTString();
 document.Write ("<b>localtime</b>" + localtime + "</br>");
 document.Write("<b>utctime</b>" + utctime); 
 </script> 
</p>
</body>
</html>
Here's what it supposed to look like got it from the tutorial
http://i55.tinypic.com/wl4qar.png
http://i52.tinypic.com/1zyv7o9.png

I'm going to bed I hope tomorrow I get some answers.
Both this and the one I made didn't even show the current time