3
Answers

Query related to Date Format

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 

Answers (3)