I have a date in 2016-07-21
format. I want to get this week's other date(from Sunday to Saturday).
Ex. from `2016-07-17` to `2016-07-23`.
Want to get all other week dates-2016-07-17, 2016-07-18, 2016-07-19, 2016-07-20, 2016-07-22, 2016-07-23
If i pass '2016-07-18' then need to get 2016-07-17, 2016-07-19, 2016-07-20, 2016-07-21, 2016-07-22, 2016-07-23
How can i achieve this using jquery ? Can anyone help me to do this?
Thanks in advance....