Time ago in words -- how to use in controller or model?


I have failed many times in figuring a way to make this work in my
controller and/or model. Obviously works great in a view, but I was
hoping to make use of it in other areas, not just the view.