2010/10/1 Jeremy Burns | Class Outfit <jeremyburns@classoutfit.com>
What are you trying to achieve the Cake doesn't already do with the created and modified fields which already get populated with 'now'?Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
Jeremy BurnsClass OutfitOn 1 Oct 2010, at 15:36, Hugo M wrote:Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.There's a way to save timestamp field without manually joining the hour, day, year, etc. fields?
$this->Form->input('timestampfield');
When I do that, in backend I get:[timestampfield] => Array ( [month] => 10 [day] => 01 [year] => 2010 [hour] => 11 [min] => 37 [meridian] => am )
And I need to manually construct the timestamp field, is that OK? :S
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment