DateTimeFormatter.ShortTime DateTimeFormatter.ShortTime DateTimeFormatter.ShortTime DateTimeFormatter.ShortTime DateTimeFormatter.ShortTime Property

Definition

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

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

Property Value

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