I was going to suggest using strtotime() on the date first

http://php.net/strtotime

Matt Kaufman
http://mkfmn.com/

On Sun, Aug 14, 2011 at 7:31 AM, Prabha vathi <[email protected]>wrote:

> Hi,
>
> Thanks for your advice. I will act accordingly.
> Thanks again
>
>
> On Sun, Aug 14, 2011 at 4:54 PM, WebbedIT <[email protected]> wrote:
>
>> This one comes down to personal preference, but I personally prefer
>> it's default value as once a date is older than one month it's easier
>> to see how old it is by being able to see the short-hand date rather
>> than working out what date was XX months and years ago.
>>
>> It is nice to see if something was only a few days agao though, so I
>> do use it myself, mainly on pages which are very active as not a good
>> idea to deliberately highlight if the latest activity on a page was
>> months or years ago.
>>
>> HTH, Paul.
>>
>> On Aug 14, 11:44 am, Prabha vathi <[email protected]> wrote:
>> > Thanks for the help. It is working now.
>> > Is it good to use? I have given +100 years
>>
>> --
>> 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
>> [email protected] For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>
>
> --
> -- Prabhavathi
>
>
>  --
> 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
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to