Re: DataObject [date_updated] fields
| From: | Alan Knowles | Date: | Sat, 30 Oct 2004 04:54:04 +0000 |
| Subject: | Re: DataObject [date_updated] fields | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15234@lists.php.net to get a copy of this message | ||
require_once 'DB/DataObject/Cast.php';
$do->date_updated = DB_DataObject_Cast::sql('NOW()');
Regards
Alan
Alexander Petri wrote:
how can i automatical fill my date field ["date_updated"] with the SQL Function NOW() ? in dataObject?