Share via


DateTimeBehavior.DateOnly Field

Definition

Stores the date value with the time value as 12:00 AM (00:00:00) without the time zone information. Value = 2.

public: static initonly Microsoft::Xrm::Sdk::Metadata::DateTimeBehavior ^ DateOnly;
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes", Justification="Behavior is immutable")]
public static readonly Microsoft.Xrm.Sdk.Metadata.DateTimeBehavior DateOnly;
[<System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes", Justification="Behavior is immutable")>]
 staticval mutable DateOnly : Microsoft.Xrm.Sdk.Metadata.DateTimeBehavior
Public Shared ReadOnly DateOnly As DateTimeBehavior 

Field Value

Attributes

Applies to