DateOnly.ToLongDateString Method

Definition

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

C#
public string ToLongDateString ();

Returns

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

Applies to

製品 バージョン
.NET 6, 7, 8, 9