App model time ago function