Мое сравнение с текущей датой
function isPastDate(dateText) {
// date is dd/mm/yyyy
var inputDate = dateText.split("/");
var today = new Date();
inputDate = new Date(inputDate[2], inputDate[1] - 1, inputDate[0], 0, 0, 0, 0);
today = new Date(today.getFullYear(), today.getMonth(), today.getDate(), 0, 0, 0, 0);
return inputDate < today;
};