DateToStr
Converts a TDateTime value to a string