How to get only the current date number using JavaScript?
Originally Published Here ๐!
To get only the current date number, we can use the getDate() method from the global Date object in JavaScript.
TL;DR
// Make an instance or object of the Date constructor
const currentDate = new Date();
// get the curr...
melvingeorge-me.hashnode.dev1 min read