Look up distance_of_time_ago_in_words in the Rails API reference.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Age of person - ActiveSupport | 0 | 93 | December 23, 2006 | |
Less verbose than time_ago_in_words method? | 0 | 133 | September 12, 2006 | |
format time as "______ ago" | 3 | 102 | December 11, 2007 | |
Calculating minutes, hours or days since now | 0 | 128 | January 24, 2007 | |
Anyone know of a humanised date difference plugin/script | 2 | 178 | March 20, 2008 |