parse time and name