EugeneBos
New Member
Hello, how to add a custom date_added to a new subscriber object so after ->save() it will not be NOW()?
I tried
$subscriber->date_added = "2011-07-12 17:00:12"
and
$subscriber->date_added = new CDbExpression('"2011-07-12 17:00:12"');
But it both doesn't work, it ignores my properties and while saving it rewrites as with the current date...
I tried
$subscriber->date_added = "2011-07-12 17:00:12"
and
$subscriber->date_added = new CDbExpression('"2011-07-12 17:00:12"');
But it both doesn't work, it ignores my properties and while saving it rewrites as with the current date...