Answers for "javascript check if 2 dates are equal"

2

javascript check if two date are ugual

const isSameDate = (dateA, dateB) => {
  return dateA.toISOString() === dateB.toISOString();
};
const r = isSameDate(new Date(2010, 10, 20), new Date(2010, 10, 20));
console.log(r); //> true
Posted by: Guest on March-30-2020
0

check if date equal js

...mapActions({
   startRefreshTokenWatcher: sharedTypes.REFRESH_TOKEN_WATCHER,
   stopRefreshTokenWatcher: sharedTypes.STOP_REFRESH_TOKEN_WATCHER
})
Posted by: Guest on April-28-2020

Code answers related to "javascript check if 2 dates are equal"

Code answers related to "Javascript"

Browse Popular Code Answers by Language