Calculating minutes, hours or days since now

Is there an easy (inbuilt?) way to create the following string formats
from dates:

time_ago_in_words

http://api.rubyonrails.com/classes/ActionView/Helpers/DateHelper.html#M000572