DateTimeFormatter.IncludeHour DateTimeFormatter.IncludeHour DateTimeFormatter.IncludeHour DateTimeFormatter.IncludeHour DateTimeFormatter.IncludeHour Property

Definition

Gets the HourFormat in the template.

public : HourFormat IncludeHour { get; }
HourFormat IncludeHour();
public HourFormat IncludeHour { get; }
Public ReadOnly Property IncludeHour As HourFormat
var hourFormat = dateTimeFormatter.includeHour;

Property Value

Specifies whether the hour is included. If it is, this property specifies the format for the hour in the template.