display dynamic time js code example
Example: dynamic time javascript
<p id="GetCurrentDateCalendar"></p>
<script>
var Calendar = new Date();
var Currentmos = Calendar.monthNames = ["January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"
];
var Currentdate = Calendar.getDate();
var Currentyear = Calendar.getFullYear();
document.getElementById("GetCurrentDateCalendar").innerHTML =
Currentmos[Calendar.getMonth()] +' '+ Currentdate +' '+ Currentyear;
</script>