Sunday, August 14, 2011

Re: problem - timeAgoInWords

Hi Prabha,

http://book.cakephp.org/view/1471/Formatting
http://api.cakephp.org/class/time-helper#method-TimeHelpertimeAgoInWords

By default dates more than one month old revert to the format of "DD/
MM/YY". You can supply an alternative 'end' date via the options
array to shorten or lengthen the range of when it shows the longer
friendly text string.

HTH, Paul.

On Aug 13, 12:26 pm, Prabha vathi <prabha.ridd...@gmail.com> wrote:
> Hi,
>
> It dispalys like this "on 3/9/10"
> But i have chosen timeAgoInWords
>
> created is the database field name. type datetime

--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate