FormatLongDate(Value: DateTime): String;
Value. Value converted into string type.
The FormatLongDate method converts the specified date value into string type in full format and according to regional standard settings.
Full format determined for dates can be provided in the LongDateFormat property.
Function GetInvariantLongDate(Value: DateTime): String;
Var
CI: ICultureInfo;
Begin
CI := CultureInfo.Invariant;
Return CI.FormatLongDate(Value);
End Function GetInvariantLongDate;
The specified function can be used to convert passed dates into string type in full format and according to invariant culture settings.
See also: