Answers for "How to get current formatted date dd/mm/yyyy in Javascript"

0

How to get current formatted date dd/mm/yyyy in Javascript

<input type="hidden" id="date"/>
<script>document.getElementById("date").value = new Date().toJSON().slice(0,10)</script>
Posted by: Guest on August-31-2021

Code answers related to "How to get current formatted date dd/mm/yyyy in Javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language