How to get yesterday’s date using JavaScript

yesterday.setDate(yesterday.getDate() – 1)

Source: How to get yesterday’s date using JavaScript

Leave a Reply

Your email address will not be published.