you can use strtotime()

example, this will subtract 60 days from the variable you assign to it, in
this case it'll subtract it from $lastDate
and go from there.

strtotime("-60 days");

http://www.php.net/manual/en/function.strtotime.php

cheers,
- Sebastian

----- Original Message -----
From: "Philip J. Newman" <[EMAIL PROTECTED]>
Subject: [PHP] LIsting all the Members who have not loged in for 60 days ...


| $lastDate is a unix time stamp in mySql ... how can i list ONLY the users
| who have not logged in for 60days?
|
|
| ------
| Philip J. Newman.
| Head Developer
| [EMAIL PROTECTED]



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

Reply via email to