Re: TO_DAYS() equivalent?
| From: | Noah Spitzer-Williams | Date: | Wed, 11 Jul 2001 19:35:00 +0000 |
| Subject: | Re: TO_DAYS() equivalent? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10302@lists.php.net to get a copy of this message | ||
check out the mktime() function
""David W. Banks"" <dwbanks@napanet.net> wrote in message
news:3B3B7A7B.438A8B80@napanet.net...
> Is there some way to get the equivalent of "select TO_DAYS(NOW())"
> out of PHP without querying MySQL (or whatever.) Some formatting character
> for the date() function that I'm just missing?
>
> Thanks,
> -Dave
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>