move string to time code