DateTimeFormatter.ShortDate DateTimeFormatter.ShortDate DateTimeFormatter.ShortDate DateTimeFormatter.ShortDate DateTimeFormatter.ShortDate Property

Definition

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

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

Property Value

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