DateToString (Reserved_Word)
This reserved word returns a string expression representing only the date portion of the specified DateTime value.
DateToString(dDateTime);
Where dDateTime is a double-precision decimal expression representing the Julian Date (since 1900) and time (since midnight).
Remarks
If a specific date is entered for the numeric expression, it must be a valid Julian date between January 1, 1900 and February 28, 2150, expressed in DateTime format.
Examples
strVar = DateToString(45161.0); returns a value of "8/23/2023" for the specified DateTime of 45161.0.