What I want to do is get the last login date (format: 11 01, 2004) and add 30 days to that:
Last Login: 11 01, 2004 + 30 days = 11 31, 2004
then I would like to capture the current date and first check to see if the time span between the last login and current date is greater than 30 days:
Current Date: 11 02, 2004 - 11 31, 2004 = 28 days
then if so, I would echo:
"This account has expired!"
.. otherwise I would echo:
"You have 28 days till this account expires..";
all help is much appreciated..