setTime can parse time from a string