try to parse time