Look at the source for the distance_of_time_in_words helper, then create your own helper method tat acts like you want it.