DateTimeToText(TDateTime,Boolean) Method
Converts a TDateTime value to a human readable string.
Declaration
function DateTimeToText(ADate: TDateTime; AFourDigitYearNeeded: Boolean = False): string;
Parameters
Name | Type |
---|---|
ADate | TDateTime |
AFourDigitYearNeeded | Boolean |
Returns
Type |
---|
string |
Remarks
Use the DateTimeToText function to convert the TDateTime type data to a human readable string. The ADate parameter represents the TDateTime type to convert. The conversion manner depends on the TcxFormatController.UseDelphiDateTimeFormats property value.
See Also