TcxSchedulerDateTimeHelper.DateToLongDateStr(TDateTime) Method
Converts the ADate date into a string formatted as a long date.
Declaration
class function DateToLongDateStr(ADate: TDateTime): string; virtual;
Parameters
Name | Type |
---|---|
ADate | TDateTime |
Returns
Type |
---|
string |
Remarks
Use the DateToLongDateStr method to convert the ADate date into a string. The resulting string is formatted as a long date. For example, if the ADate parameter is set to 03/14/2005 and the long date format is dddd, MMMM dd, yyyy, then the resulting string will be ‘Monday, March 14, 2005’.
The ADate parameter specifies the date to be converted into a string.
Note
as for Windows NT/2000/XP the long date format of the default user locale is used (see the value in the registry subkey HKEY_CURRENT_USER\Control Panel\International\sLongDate). For other platforms the resulting string is formatted according to the long date format given by the Delphi LongDateFormat global variable.
See Also