[PHP] Re: convert mysql datetime to unix timestamp

2003-07-28 Thread Thomas Seifert
SELECT UNIX_TIMESTAMP(datetime-field) ... thomas On Mon, 28 Jul 2003 18:06:32 +0200 [EMAIL PROTECTED] (Chris Hayes) wrote: > hi, > i have to move data from a table with a datetime (2003-05-14 13:36:04) to a > unix timestamp (e.g. 2147483647) . Any ideas? > > Chris > -- PHP General Mailin

[PHP] Re: convert mysql datetime to unix timestamp

2003-07-28 Thread Shena Delian O'Brien
Look into mktime() http://us3.php.net/manual/en/function.mktime.php Chris Hayes wrote: hi, i have to move data from a table with a datetime (2003-05-14 13:36:04) to a unix timestamp (e.g. 2147483647) . Any ideas? Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht