Re: adding 60 to a date

From: Date: Tue, 07 May 2002 14:17:59 +0000
Subject: Re: adding 60 to a date
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96433@lists.php.net to get a copy of this message
No, this won't be a problem. I also suggest using a unix timestamp. It's the easiest way of doing it. tyler ----- Original Message ----- From: "Scott St. John" <scott@scottah.com> To: "John S. Huggins" <jhuggins@va.net> Cc: <php-general@lists.php.net> Sent: Tuesday, May 07, 2002 8:55 AM Subject: Re: [PHP] adding 60 to a date > Will the fact that the server is on NT be a problem? > > On Tue, 7 May 2002, John S. Huggins wrote: > > > 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/ > > > > ************************************** > > > > > > > > -- > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#96433) next »