TimeToStr
Returns a string that represents a TDateTime value