convert to unix timestamp using TimeHelper::fromString() , substract, and you'll get duration in miliseconds.. erm.. ever heard of this question before..
On Jan 12, 3:18 pm, aku Gaban <akugaba...@gmail.com> wrote: > Dear friends > I would like to ask how to implement calculation at view.ctp and > controllers to get difference between created > and action date column and to be appear at duration column. > i found resource in php but i dont know how to implement it into > cakephp > hope can help me > > thank you in advance -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php