FormatDate(Value: DateTime): String;
Value. Value converted into string type.
The FormatDate method converts the specified date value into string type according to regional standard settings.
Function GetInvariantDate(Value: DateTime): String;
Var
CI: ICultureInfo;
Begin
CI := CultureInfo.Invariant;
Return CI.FormatDate(Value);
End Function GetInvariantDate;
The specified function can be used to convert the passed dates into the string type according to the invariant culture settings.
See also: