Re: manually update datetime field...

2006-12-05 Thread Seb
Hi guys, Thx for your time! saveField works like a charm indeed! I'll still disable validations and see... just out of curiosity!! Again, Cheers to both of you for your time! Seb. --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: RE: manually update datetime field...

2006-12-04 Thread Samuel DeVore
Mensaje original- > De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre > de Seb > Enviado el: Martes, 05 de Diciembre de 2006 02:02 a.m. > Para: Cake PHP > Asunto: manually update datetime field... > > I do this; > > $someone['User']

RE: manually update datetime field...

2006-12-04 Thread Mariano Iglesias
--Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Seb Enviado el: Martes, 05 de Diciembre de 2006 02:02 a.m. Para: Cake PHP Asunto: manually update datetime field... I do this; $someone['User']['last_login'] = date('Y-m-d H:i:s&

manually update datetime field...

2006-12-04 Thread Seb
Hi everyone, I'm still experimenting with Cake and feel I'm missing something; upon login, I do this; $someone['User']['last_login'] = date('Y-m-d H:i:s'); $this->User->save($someone); Which should be updating the last_login field with the current datetimestamp; though it doesn't work. however