Answers for "check if to dates ar on the same day"

0

check if to dates ar on the same day

function sameDay(d1, d2) {
  return d1.getFullYear() === d2.getFullYear() &&
    d1.getMonth() === d2.getMonth() &&
    d1.getDate() === d2.getDate();
}
Posted by: Guest on March-05-2021

Code answers related to "check if to dates ar on the same day"

Browse Popular Code Answers by Language