DateTimeFormat Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |