Share via


DateTimeFormatter.LongDate Property

Definition

Gets the DateTimeFormatter object that formats dates according to the user's choice of long date pattern.

public:
 static property DateTimeFormatter ^ LongDate { DateTimeFormatter ^ get(); };
static DateTimeFormatter LongDate();
public static DateTimeFormatter LongDate { get; }
var dateTimeFormatter = DateTimeFormatter.longDate;
Public Shared ReadOnly Property LongDate As DateTimeFormatter

Property Value

A DateTimeFormatter object equivalent to one constructed with the "longdate" template.

Applies to