Delen via


DateTimeFormatter.LongTime Property

Definition

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

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

Property Value

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

Applies to