Convert a SQL compliant date to Epoc Unix seconds
| From: | Stéphane Pinel | Date: | Wed, 06 Oct 2004 10:40:31 +0000 |
| Subject: | Convert a SQL compliant date to Epoc Unix seconds | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-36649@lists.php.net to get a copy of this message | ||
Hello,
Sorry if the question has already been posted, I checked the archives and didn't find anything
related.
I'm looking for a simple way to convert a SQL compliant date (eg 2004-09-06) into a Unix
Epoc seconds (similar to the one returned by function "time()").
Thanks.
Stephane