Skip to content

DateTimeField.DateOnly property

Gets or sets a value indicating whether the field is date only, e.g. no time part.

public bool DateOnly { get; set; }

Property Value

true if date only; otherwise, false.

See Also