Re: Get current date and time
| From: | Martin Kampherbeek | Date: | Sat, 29 Sep 2001 23:43:18 +0000 |
| Subject: | Re: Get current date and time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69329@lists.php.net to get a copy of this message | ||
But I need it in my PHP file, so that's the reason why I have written it
here.
----- Original Message -----
From: Matthew Loff <matt@willetts.com>
To: 'Martin Kampherbeek' <m.kampherbeek@home.nl>;
<php-general@lists.php.net>
Sent: Sunday, September 30, 2001 1:38 AM
Subject: RE: [PHP] Get current date and time
>
> 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@home.nl]
> Sent: Saturday, September 29, 2001 7: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
>
>