I am trying to retrieve data for the previous week. I need to get the previous week starting on Monday and ending on Sunday. How can I retrieve the data from Monday to Sunday?
For example, today is 10-Aug-2016.
So, I need details from 1-Aug-2016 to 5-Aug-2016 as week day, and 6-Aug-2016 to 7-Aug-2016 as Weekend.