Share via


DateTimeFormatter.ShortDate Property

Definition

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

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

Property Value

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

Applies to