May 6, 2013

Using Dates in JavaScript

Coding

<html>
<body>
<script language="JavaScript">
var d = new Date()
document.write(d.getDate())
document.write(".")
document.write(d.getMonth() + 1)
document.write(".")
document.write(d.getFullYear())
</script>
</body>
</html>

No comments:

Post a Comment

Popular Posts

Views