Skip to main content

DateToStr

Converts a TDateTime value to a string.

Structure

DateToStr(Date: TDateTime): string;

Parameters

Return Value

Description

Use DateToStr to obtain a string representation of a date value that can be used for display purposes. The conversion uses the format specified by the ShortDateFormat global variable. |