Not resolved now I guess.. humm
Why would the following give 46 as the weeks difference when it should really be 8 I think. Anytime the years change, it seems to mess things up.
$weeks_between = abs(date("W", mktime(0, 0, 0, 12, 2, 2005)) - date("W", mktime(0, 0, 0, 1, 22, 2006))) + 1;
It looks like it is counting between the month/weeks only and not taking into account that there is a year change and acting as though my starting date is jan 22 going to dec 2 which would give that number of weeks, but the problem is the starting date is dec 2 and ending date is jan 22 of the following year so it should only count up to that, not flip.:\