Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

RE: [PHP] Get current date and time From: Matthew Loff (matt <email protected>)
Date: 09/29/01

You're off-topic, as this is a list for PHP issues, not SQL issues, but
here's where you should look:

http://www.mysql.com/doc/D/a/Date_and_time_functions.html

-----Original Message-----
From: Martin Kampherbeek [mailto:m.kampherbeek <email protected>]
Sent: Saturday, September 29, 2001 7:28 PM
To: php-general <email protected>
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 <email protected>
For additional commands, e-mail: php-general-help <email protected> To
contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>