convert strings like "five days ago" to an integer (with time in seconds)