A small function used to parse english strings describing a length of time into milliseconds.