the following code below
var unixDate = new Date('07/28/2010');
var unixMonth = unixDate.getMonth();
var unixDay = unixDate.getDate();
var unixYear = unixDate.getFullYear();
alert(filterDate.value);
alert(unixMonth);
alert(unixDay);
alert(unixYear);
should give me month 07 but it alrets 06....whys that