Display Current Date using Java Script
by satheeshkumar[ Edit ] 2012-07-13 23:01:58
Display Current Date using Java Script function,
<h4>Today's Date is(dd/mm/yyyy)
<script type="text/javascript">
var currentTime = new Date()
var month = currentTime.getMonth() + 1
var day = currentTime.getDate()
var year = currentTime.getFullYear()
document.write(month + "/" + day + "/" + year)
</script>
</h4>