Turns strings into timeframes