Subject: Different format for created_at/updated_at?
can't seem to find the way to change the format of those two fields created_at/updated_at.I want them to insert just a time() which is an integer of 10 chars.
I even tried $item->created_at = time(); - but it is overwritten by the original created_at()
I also have tried set_created_at() method to return '1297039837'; - but it also overwritten by some default..
How I could achieve that?
I'm using latest stable...
Try overriding Model::set_timestamps() with your own version.
Thank you very much Kien!
June 27 2010
April 16, 2013
phpactiverecord.org - An easy to use ORM for PHP