Question:I want to count occurrences, for each day of the week, between two given dates.
Between 20/07/2014 to 27/7/2014, an 8 day span, there were:
Sunday=2, monday=1, tuesday=1,...
First get the all days between two dates:
Now get Count on the base of day, currently it will get Count of Monday: