Tuesday, December 17, 2019

Date and time java script program

<!DOCTYPE html>
<title>Time and Date</title>


<time id="msg"></time>

<script>
  document.getElementById("msg").innerHTML = new Date().toLocaleString();
</script>

No comments:

Post a Comment

What is Next JS?

 What is Next JS? Next.js is a powerful React framework developed by Vercel that simplifies building modern web applications. Its key featur...