made getCurrentTime(double t) return a string instead of int[] for readability