Reformat Time string passed to setTime method