Forum Moderators: coopster
If you can get the two dates in the same format and in $variables, then you can use the Arithmetic Operators [php.net] built into PHP.
Take a look through the PHP manual page above, and see what the best way to do it is. Maybe it is that you need the date formats in a way that are the same so that you can just use the subtraction and get the correct amount of days.
Regards,
wruk999
Jocelyn