Re: Calculate the time differences

2008-09-24 Thread Krishgy
Domen and Yoan, Thanks for the tips.. this works.. Regards, Krish On Sep 24, 5:18 pm, Yoan Blanc [EMAIL PROTECTED] wrote: Just do this on the client side. http://ejohn.org/blog/javascript-pretty-date/http://yoan.dosimple.ch/blog/2008/01/20/ Cheers, -- Yoan On Tue, Sep 23, 2008 at

Calculate the time differences

2008-09-22 Thread Krishgy
Hi All, In my Pylons site, I have to display the approximate posted time of the content to the user. For example, 1. posted 2 hours ago 2. Posted yesterday 3. Posted 2 days ago 4. Posted last month 5. posted two months ago I have the created column in the database which is actually