Re: adding 60 to a date

From: Date: Tue, 07 May 2002 14:09:09 +0000
Subject: Re: adding 60 to a date
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96429@lists.php.net to get a copy of this message
On Tue, 7 May 2002, 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? Yes, using the unix timestamp is most frequently the wise thing to do - at least for me :-| Just add 5,184,000 seconds to the current timestamp. ************************************** John Huggins VANet jhuggins@va.net http://www.va.net/ **************************************

« previous php.general (#96429) next »