note 8362 modified in time by zak

From: Date: Tue, 12 Sep 2000 09:14:02 +0000
Subject: note 8362 modified in time by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-4759@lists.php.net to get a copy of this message
To convert a MySQL timestamp to a Unix-style timestamp, use MySQL's UNIX_TIMESTAMP function. For Example: $result=mysql_query ("SELECT UNIX_TIMESTAMP(timestamp_column) as epoch_time FROM table"); $unix_timestamp = mysql_result ($result, 0, 0); http://www.php.net/manual/function.time.php

« previous php.notes (#4759) next »