Display Date (Format : 12/12/2009) Using JavaScript

Chikul
Posted by Chikul under JavaScript category on | Views : 1843
    <script language="JavaScript" type="text/javascript">
var toDay_Date= new Date()
var month=toDay_Date.getMonth()+1
var today=toDay_Date.getDate()
var year=toDay_Date.getFullYear()
document.write(month+"/"+today+"/"+year)
</script>

Comments or Responses

Login to post response