DateTimeFormatter.IncludeHour 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 HourFormat in the template.
public:
property HourFormat IncludeHour { HourFormat get(); };
HourFormat IncludeHour();
public HourFormat IncludeHour { get; }
var hourFormat = dateTimeFormatter.includeHour;
Public ReadOnly Property IncludeHour As HourFormat
Property Value
Specifies whether the hour is included. If it is, this property specifies the format for the hour in the template.