How to get current date and 7 days prior date using juqery
For Example today is 19 July 2020,then current date will 19 July 2020 and 7 days prior date will be 12 July 2020.
Also I want date in this format
19 July 2020 should be converted to 19 July and 12 July 2020 to 12 July
i.e. I only want day and month.
Kindly guide me on this
I am Stuck on this

Aman GuptaRank #193 · 12.4K reputationPosted Jul 19, 2020, 9:15 AM EDT
Aniket NarvankarRank #903 · 2.3K reputationPosted Jul 21, 2020, 2:11 AM EDT
Aniket NarvankarRank #903 · 2.3K reputationPosted Jul 29, 2020, 6:44 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts