I am trying to use the Date field of JavaScript as below
var dateFrom = new Date(2013,02,03,00,00,00,00);
var dateTo = new Date(2014,03,01,23,59,59,00);
alert (dateFrom);
alert(dateTo);
These are not giving the correct dates.. What am I doing wrong?