Hi, Can someone please explain to me how I would calculate the number of weeks between two dates. I know I would be using the calendar class but I've got myself into a muddle! Any assistance apreciated Thanks Joel
You also need to decide what you really mean when you say "number of weeks" between two dates. How many weeks were there between Friday, Feb 22, and Monday, Feb 25? 1? 0? 0.4286? What about between Monday Feb 25 and Thursday Feb 28? Does the answer change? The way you want to answer these questions will determine how you do the calculation.