Re: mySql timestamp

From: Date: Sat, 05 Aug 2000 20:26:13 +0000
Subject: Re: mySql timestamp
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-27849@lists.php.net to get a copy of this message
> 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

« previous php.dev (#27849) next »