Re: LIsting all the Members who have not loged in for 60 days ...
| From: | Sebastian | Date: | Wed, 19 Mar 2003 05:04:29 +0000 |
| Subject: | Re: LIsting all the Members who have not loged in for 60 days ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140249@lists.php.net to get a copy of this message | ||
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" <newmanpj@philipnz.com>
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
| info@philipnz.com