Re[2]: [PHP-DB] mysql timestamps
| From: | L0vCh1Y | Date: | Mon, 24 Mar 2003 06:49:52 +0000 |
| Subject: | Re[2]: [PHP-DB] mysql timestamps | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140805@lists.php.net to get a copy of this message | ||
JWH> SELECT TO_UNIXTIME(your_column) FROM table ...
It doesn't work... MySQL returns error - what could be trouble in? I
also tried
SELECT TO_UNIXTIME(foo) AS bar FROM baz
But it's look like it doesn't know such function :\.
I tried table in next types: TIMESTAMP,DATETIME.
--
Best regards,
L0vCh1Y