Answers for "js check if date is future"

1

js check if date is future

var now = new Date();
if (before < now) {
  // selected date is in the past
}
Posted by: Guest on August-04-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language