I have a date in the following format 2015-01-22 17:57:51 and I want to be able to count this down from "now" and present something like this:
if it's only minutes:
something like: "23 minutes ago"
if it's hours and minutes (but less than a day):
something like: "1 hour 23 mins ago"
if it's days, hours and minutes
something like: "2 days 1 hour 23 mins ago"