How to check if a date is today or the current date in JavaScript?
Originally Published Here ๐!
To check if a date is today or the current date, we check the day, month, and year of that date with the current date's using the getDate(), getMonth(), and getYear() methods from the Date object in JavaScript.
TL;DR
// ...
melvingeorge-me.hashnode.dev2 min read