How do Get month using javascript
In the java script we can using getMonth() function which is used to get current month.
Program
<html>
<body>
<script type="text/javascript">
d=new Date();
ch=d.getMonth();
document.write(ch);
</script>
</body>
<html>
Output:
In this program The program will return...