Re: adding 60 to a date
| From: | Jason Wong | Date: | Tue, 07 May 2002 14:12:50 +0000 |
| Subject: | Re: adding 60 to a date | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96431@lists.php.net to get a copy of this message | ||
On Tuesday 07 May 2002 21:44, Scott St. John wrote:
> Morning....
>
> I am working on a password aging system that will force a user to change
> their password every 60 days. Can anyone recommend the best method for
> taking the current date and adding 60 days to that number? Should I do a
> unix timestampe and add or strtotime and add 60 days?
I would say strtotime() wins out on the legibility stakes.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Things will be bright in P.M. A cop will shine a light in your face.
*/