Html5DateRenderingMode Enum

Definition

Controls the value-rendering method For HTML5 input elements of types such as date, time, datetime and datetime-local.

C#
public enum Html5DateRenderingMode
Inheritance
Html5DateRenderingMode

Fields

Name Value Description
Rfc3339 0

Render date and time values as Rfc3339 compliant strings to support HTML5 date and time types of input elements.

CurrentCulture 1

Render date and time values according to the current culture's ToString behavior.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0