saalek110
Well-Known Member
تاریخ
www.w3schools.com
JavaScript:
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Dates</h1>
<h2>Using new Date()</h2>
<p>new Date() without arguments, creates a date object with the current date and time:</p>
<p id="demo"></p>
<script>
const d = new Date();
document.getElementById("demo").innerHTML = d;
</script>
</body>
</html>
W3Schools online HTML editor
The W3Schools online code editor allows you to edit code and view the result in your browser









