Question
this function returns previous month and not the current month
var currentdate = new Date();
currentdate.getMonth();
For example, this return 5 instead of 6.
var currentdate = new Date();
currentdate.getMonth();
For example, this return 5 instead of 6.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.