RE: [PHP] Get current date and time

From: Date: Sun, 30 Sep 2001 00:34:43 +0000
Subject: RE: [PHP] Get current date and time
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-69332@lists.php.net to get a copy of this message
How about one of the mirrors closer to you: http://php.nederland.net/ http://nl2.php.net/ http://nl.php.net/ Or are they all down, too? Regarding your specific question, you can find the answer either in the mySQL manual, as originally suggested, or even in the PHP manual as the second person suggested. (Though that kind of comparison is better done in a database, IMO) --kurt > -----Original Message----- > From: Martin Kampherbeek [mailto:m.kampherbeek@home.nl] > Sent: Saturday, September 29, 2001 4:52 PM > To: kaiping@phreedom.com; php-general@lists.php.net > Subject: Re: [PHP] Get current date and time > > > www.php.net is down or somthing like that. > > > ----- Original Message ----- > From: Joe Kaiping <kaiping@phreedom.com> > To: 'Martin Kampherbeek' <m.kampherbeek@home.nl>; > <php-general@lists.php.net> > Sent: Sunday, September 30, 2001 1:51 AM > Subject: RE: [PHP] Get current date and time > > > > You might want to check out > > > > http://www.php.net/manual/en/function.time.php > > > > -Joe > > > > > -----Original Message----- > > > From: Martin Kampherbeek [mailto:m.kampherbeek@home.nl] > > > Sent: Saturday, September 29, 2001 4:28 PM > > > To: php-general@lists.php.net > > > Subject: [PHP] Get current date and time > > > > > > > > > I have a date and time in my database like this > 2001-09-30 02:37:01 > > > > > > Now I want to check if this one is lower then the current > date and > > > time. But how do I get the current date and time? > > > > > > And do I check it like: where time < currenttime? > > > > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: > php-general-help@lists.php.net To > > > contact the list administrators, e-mail: > > > php-list-admin@lists.php.net > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: > php-general-help@lists.php.net To contact the list > administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#69332) next »