I have a script that reports that day on which a post expires as: 2000-06-12. What i would like to do is post it instead as: Expires in: 11 Days.
So basically, I'm looking for a PHP3 way to do a Day of year Subtraction. I know with MySQL its:
(TO_DAYS(Expires) - TO_DAYS(Current_Date))
is there a way to do it without going back into MySQL, using PHP3? OR how to i configure my Select so that it will automatically output "Expires" date as a the day count UNTIL expires...
[This message has been edited by dave981 (edited June 01, 2000).]