DateTimeFormatter.ShortDate 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 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.