Thread:Project:Support desk/Time Calculations

I am wondering if anyone can help me out. I am attempting to create a template that updates based on how much time has elapsed since the last edit was performed. I need a way to do calculations with time. Is there any way to do this? I'm looking at using the and associated "magic words" but I'm not sure how best to do this calculation though. Any thoughts?