I need a way to turn my 2 character string dates (i.e. '04/10/2010' & '05/24/2010') into an integers to see if one is greater than the other. If the user enters ...
I need to find out if two dates the user selects are the same in Javascript. The dates are passed to this function in a String ("xx/xx/xxxx").That is all the granularity ...
I sincerly apolize as of that meaningless Heading for this Thread.
Let me explain my requirement first .
Under MySQL Database i have this Data in the Tables
Date ...
var now = new Date(document.forms[0].startdate.value);
var nextWeek = new Date(new Date(now).setDate(now.getDate() -7));
var nextMonth = new Date(new Date(now).setMonth(now.getMonth() + 1));
alert(nextWeek);