This question is the other side of the question asking, \"How do I calculate relative time?\".
Given some human input for a relative time, how can you parse it? By
This: http://www.codeproject.com/KB/edit/dateparser.aspx Is fairly close to what you are trying to accomplish. Not the most elegant solution, but certainly might save you some work.