Get the '1 day ago' format from difference between timestamps in less than 25 lines of code