"darthzeth" <[EMAIL PROTECTED]> wrote:
> would anyone out there know how to use PHP to turn
> a MySQL Timestamp (not datetime) into a UNIX
> timestamp. using PHP.

I have a PHP function that converts a MySQL timestamp into epoch time.  I
use it in conjunction with another function that returns the difference in
time b/w two MySQL timestamps.  You should be able to easily modify the
first function to suit your needs.  You can find both at
http://www.befriend.com/code_gallery/php/get_elapsed_time/.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to