JS Verifique se a data é futura

var now = new Date();
if (before < now) {
  // selected date is in the past
}
Concerned Curlew