Hi Guys
I want to calculate the number of weeks between 2 dates. I have the code to get the number of days and divide by 7 and roundup but this is not the solution I need.
Here is an example
Say the date is 12.09.2012 and this is a Wednesday and the end date is the 24.12.2012 and this is a Thursday then the count I need is the number of weeks and the 2 partial weeks count as 2 weeks also.
Does anyone have a solution for this?
Many thanks,
Regards
Fergal.