What is the method to submit a current timestamp directly on an INSERT
or an UPDATE
? If I were running regular SQL, I would use the function NOW()
for the specific SQL field on submission. How would I do that with CakePHP?
$this->Model->save($this->data)
See Question&Answers more detail:os