Share via


DateTimeFormatter.IncludeSecond Property

Definition

Gets the SecondFormat in the template.

public:
 property SecondFormat IncludeSecond { SecondFormat get(); };
SecondFormat IncludeSecond();
public SecondFormat IncludeSecond { get; }
var secondFormat = dateTimeFormatter.includeSecond;
Public ReadOnly Property IncludeSecond As SecondFormat

Property Value

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

Applies to