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