note 15597 modified in function.time by victor

From: Date: Mon, 09 Dec 2002 18:58:44 +0000
Subject: note 15597 modified in function.time by victor
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40620@lists.php.net to get a copy of this message
Lots of MySQL traffic, little PostgreSQL. PG hasn't UNIX_TIMESTAMP()- instead, use: extract(epoch from ____) As in: SELECT extract(epoch from mytimestamp) FROM mytable WHERE mycondition = true; --was-- <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/manual/en/function.time.php

« previous php.notes (#40620) next »