DateOnly.ToLongDateString Method

Definition

Converts the value of the current DateOnly object to its equivalent long date string representation.

public:
 System::String ^ ToLongDateString();
public string ToLongDateString ();
member this.ToLongDateString : unit -> string
Public Function ToLongDateString () As String

Returns

A string that contains the long date string representation of the current DateOnly object.

Applies to