In JavaScript, the Date constructor provides us with some date and time manipulation functionalities. However, many operations can’t be done with only one method call.

In this article, we’ll look at how to get the month name from a JavaScript date, get yesterday’s date, tomorrow’s date, sort an array by date.

#web-development #javascript

How to Do Common Date Tasks with JavaScript 
7.80 GEEK