DateTimeFormatter.ShortTime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the DateTimeFormatter object that formats times according to the user's choice of short time pattern.
public:
static property DateTimeFormatter ^ ShortTime { DateTimeFormatter ^ get(); };
static DateTimeFormatter ShortTime();
public static DateTimeFormatter ShortTime { get; }
var dateTimeFormatter = DateTimeFormatter.shortTime;
Public Shared ReadOnly Property ShortTime As DateTimeFormatter
Property Value
A DateTimeFormatter object equivalent to one constructed with the "shorttime" template.