May 7, 2013

Setting Date in UTC Format

Coding

<html>
<body>
<script language="JavaScript">
var d = new Date()
document.write(d.getUTCHours())
document.write(".")
document.write(d.getUTCMinutes())
document.write(".")
document.write(d.getUTCSeconds())
</script>
</body>
</html>

No comments:

Post a Comment

Popular Posts

Views