Hi,
I've got the following PHP line below. I need it to calculate as shown below - which gives end week minus the start week to get the total number of weeks, but then I need it to add 1 to the total number of weeks.
Can someone tell me how to do that in the line below? Can I just throw a +1 at the end? Somehow I doubt it is that easy!
$course->numsections = date('W',$endtime)-date('W',$starttime);
Thanks in advance!