note 15597 added to function.time
| From: | matt at blockdev dot net | Date: | Sat, 22 Sep 2001 05:04:36 +0000 |
| Subject: | note 15597 added to function.time | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18158@lists.php.net to get a copy of this message | ||
<P>Lots of MySQL traffic, little PostgreSQL. PG hasn't UNIX_TIMESTAMP()- instead,
use:</P>
<BR>extract(epoch from ____)
<P>As in:</P>
SELECT extract(epoch from mytimestamp) FROM mytable WHERE mycondition = true;
http://www.php.net:8070/manual/en/function.time.php