Stéphane Pinel wrote:
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()").

strtotime() or the database may have something you can use in your query (like UNIX_TIMESTAMP() in MySQL).


--

---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to