Re: mySql timestamp

From: Date: Sat, 05 Aug 2000 20:20:16 +0000
Subject: Re: mySql timestamp
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-27853@lists.php.net to get a copy of this message
Sorry, switching lists. Thanks to you and Theodore for the help though! ----- Original Message ----- From: "Zak Greant" <zak@nucleus.com> To: "Bryan Fritchie" <bryan@razorhack.com>; <php-dev@lists.php.net> Sent: Saturday, August 05, 2000 3:26 PM Subject: Re: [PHP-DEV] mySql timestamp > > What is the best way to compare a timestamp, and see if it has occurred, > say, within a 15 minutes of the current time? > > I can't find any sort of datediff functions like you might have in ASP. > > > > Any help is appreciated. Thanks! > > Dear Bryan, > > This list is for the discussing issues that relate to the development of the > php language, not development with the php language. Please send your > questions to the PHP general or database mailing lists. Please see > http://www.php.net/support.php for more details. > > To answer your question, take a look at the now() function (and other date > functions) in the MySQL manual. Also check out the date and time functions > in the PHP manual. > > Zak > > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.dev (#27853) next »