Hi everyone)Currently i am learning HTML,CSS and Java script.As we know we don,t need a web server to display html,css and java script on our browsers.Below is the code embedded with a java script which i wanted to display on my browser but it,s not showing the java script which is about displaying the date and time.It just shows the header called "Current Date and Time ".What,s the problem? Please help me if you have a solution to this problem.

<?xml version=”1.0” encoding=”UTF-8”?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN”
“http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”>
<html xmlns=” xml:lang=”en”>
<head>
<title>Displaying Times and Dates</title>
</head>
<body>
<h1>Current Date and Time</h1>
<script type=”text/javascript”>
now = new Date();
localtime = now.toString();
utctime = now.toGMTString();
document.write(“<strong>Local time:</strong> “
+ localtime + “<br/>”);
document.write(“<strong>UTC time:</strong> “ + utctime);
hours = now.getHours();
mins = now.getMinutes();
secs = now.getSeconds();
document.write(“<h1>”);
document.write(hours + “:” + mins + “:” + secs);
document.write(“</h1>”);
</script>
</body>
</html>