JavaScript Date() Function Example
JavaScript Date() Function return the current Date.
Example
<!DOCTYPE html>
<html lang="en">
<head>
<title>JavaScript date() function</title>
</head>
<body>
<script type="text/javascript">
var date=new Date();
document.write(date);
</script>
</body>
</html>
Example Result