Hi
I have a requirement in my code to count the number of times a day occurs between two dates. So for eg if
start date = 01 Jan 2014
end date = 31 March 2014
The number of times day 1 occurs is thrice. Hence I want the result to be 3. My three input parameters are the day number,start and end dates. I know this can be done by parsing through the days and incrementing a counter of sorts but can it be done without any looping etc?
Just looking for options
Thanks
Birdy