note 24211 deleted from function.strtotime by vincent

From: Date: Thu, 11 Sep 2003 19:43:22 +0000
Subject: note 24211 deleted from function.strtotime by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56178@lists.php.net to get a copy of this message
Note Submitter: egreb@@trivini.com ---- Some have contributed ways of getting the Unix time from databases. In MySQL, there is a field type called datetime. It's basicly an string looking like this: 0000-00-00 00:00:00 One way of doing this in MySQL is this: SELECT UNIX_TIMESTAMP(timefield) FROM aNiceTable; I don't know if this works in PostgreSQL.

« previous php.notes (#56178) next »