May 7, 2013

Setting Date in JavaScript

Coding

<html>
<body>
<script language="JavaScript">
var d = new Date()
d.setFullYear("1990")
document.write(d)
</script>
</body>
</html>

No comments:

Post a Comment

Popular Posts

Views