> Given a date.... how would you work out number of months elapsed
> between DateInPast and DateNow?

( $monthTo - $monthFrom ) + (( $yearTo - $yearFrom ) * 12 )

I believe that's the correct equation for figuring out the number of months.

Chris



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to