Hi
If you want to send curret_timestamp, you can store it by using function below.
DboSource::expression('NOW()');
Lets take an example, save your timestamp in a key 'your_datetime_field'
$this->data['SomeModel']['your_datetime_field'] = DboSource::expression('NOW()');
$this->Model->save($this->data);
and then you can insert the data.
0 Comment(s)