|This method is obsolete. See the Remarks section below.|
Utilities.DateTimeToStr method converts the variant value that stores date and time to a string. The DateTime parameter specifies the value to be converted. The date format in the resulting string is specified by the
ShortDateFormat property. The time format is specified by the
The method is applied to the following object:
The method has the following parameter:
Specifies the variant value that stores the desired date and time.
The resulting string that stores the given date and time.
This method is obsolete. It is supported for backward compatibility only. To convert a date-time value to a string, use the