I have run into problems with subtracting two dates in my php script.
I need to subtract a date from the current date obtained by the date() php function - so that I know how many days have passed.
I can implement something badly with the date("z"), but everything goes pear shaped when the day of the year for current gets back to '0' and the date I want to subtract is something like 361..
Can anyone help me with subtracting two dates to get the amount of days that has passed??
Thanks,
Ian