I am having the following codes and it though i\'m having 01-Jan-2009 for DateTo and 03-Jan-2009 for DateFrom it\'s readi
01-Jan-2009
DateTo
03-Jan-2009
DateFrom
The Easy Way to Do is
var start= new Date($('#txtstart').val()); var end= new Date($('#txtend').val()); if (start < end) { }