Jaa


DateTimeFormat Enum

Definition

Describes the formatting of a DateTimeAttributeMetadata attribute.

For the Web API use the DateTimeFormat EnumType.

public enum class DateTimeFormat
[System.Runtime.Serialization.DataContract(Name="DateTimeFormat", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")]
public enum DateTimeFormat
[<System.Runtime.Serialization.DataContract(Name="DateTimeFormat", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")>]
type DateTimeFormat = 
Public Enum DateTimeFormat
Inheritance
DateTimeFormat
Attributes

Fields

Name Value Description
DateOnly 0

Display the date only. Value = 0.

DateAndTime 1

Display the date and time. Value = 1.

Applies to