Ajustments to TimeToString Function.