Added getTimeToString()