ICultureInfo.FormatLongDate

Syntax

FormatLongDate(Value: DateTime): String;

Parameters

Value. Value converted into string type.

Description

The FormatLongDate method converts the specified date value into string type in full format and according to regional standard settings.

Comments

Full format determined for dates can be provided in the LongDateFormat property.

Example

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:

ICultureInfo