note 37893 deleted from function.strtotime by aidan

From: Date: Wed, 11 Aug 2004 18:22:03 +0000
Subject: note 37893 deleted from function.strtotime by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-74486@lists.php.net to get a copy of this message
Note Submitter: tobi@schluer.de ---- There is another way to do so: insert a date into your mySQL-db using the function FROM_UNIXTIME(), it converts the unix timestamp to the normal db date field. You can read the db using the UNIX_TIMESTAMP()-function, which returns the timestamp from the date(time) field. So you don't need to convert the dates in PHP, but let SQL do that job.

« previous php.notes (#74486) next »