I'd be more inclined to use the existing TimeHelper timeAgoInWords()
function.


On Apr 21, 6:51 am, jonknee <[EMAIL PROTECTED]> wrote:
> > So - where should I put the function and how can I call it? Any ideas?
>
> Unless I'm missing something, that would ideally be a helper. You
> could call it like any other helper <?php echo $myHelper-
>
> >myMethod($date); ?>.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to