thank you ad for your reply.
<?php echo round(abs((strtotime($aduan['complain']['created'])-
(strtotime($aduan['complain']['action_date']))/86400))); ?>
but this seem not appear what i want.
i have no idea.not good in php too


On Jan 12, 5:29 pm, AD7six <andydawso...@gmail.com> wrote:
> On Jan 12, 8:18 am, 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
>
> Is it a secret hidden resource only for the eyes of the elite?
>
> There are lots of ways to do that - the simplest of which is to do it
> exactly the same way you'd do it with php since (gasp) CakePHP is
> written in php.
>
> AD

-- 
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

Reply via email to