I have the following private method in my form :
function _verifywebsite ($id) {
$row = $this->websites->fetchRow("id=$id");
$row->verified_date = $this->_get_date(); // this is the line in question
$row->save();
}
I assume that $row requires me to enter date as string value in correct date format.
But what if I want to include some SQL function, like NOW(), can I assign it to $row->verified_date somehow or it's against best practices?