There's ```amo.utils.days_ago```.