<!DOCTYPE html>
<html lang="en">
<head>
<title>JavaScript today date</title>
</head>
<body>
<script type="text/javascript">
var currentDate = new Date()
var day = currentDate.getDate()
var month = currentDate.getMonth()
var year = currentDate.getFullYear()
document.write("Current Date: " + day + "-" + month + "-" + year);
</script>
</body>
</html>