RE: [PEAR-DEV] MDB & postgresql timestamptz

From: Date: Mon, 16 Jun 2003 10:59:21 +0000
Subject: RE: [PEAR-DEV] MDB & postgresql timestamptz
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5992@lists.php.net to get a copy of this message
> From: Jeroen Houben [mailto:jeroen@terena.nl] > Sent: Monday, June 16, 2003 12:54 PM > Inserting like this won't work on a normal timestamp field... > $db->getTimestampValue(mktime()) well the problem there is that you are not using the MDB Timestamp format. http://www.backendmedia.com/MDB/docs/datatypes.html This class might help in generating those Timestamps: http://www.backendmedia.com/MDB/docs/class.MDB_Date.html to load the class please do: MDB::loadFile('Date'); Regards, Lukas

« previous php.pear.general (#5992) next »