how to calculate and display an item's age