Hi all
I have the folowing to calculate the Number of weeks between two dates.
The OpenDate= Nov-1-12 and closingDate= Nov-29-12.
When Executing the the NumberOfWeeks=3
If I go to the calander 4 weeks why is the NumberOfWeeks=3
NumberOfWeeks = DateDiff(DateInterval.Weekday, OpenDate, ClosingDate)
Thanks In Advance.