SPDateTimeFieldFormatType Enumeration

Specifies the format to use in displaying date and time fields.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online


<ClientCallableTypeAttribute(Name := "DateTimeFieldFormatType")> _
<SubsetCallableTypeAttribute> _
Public Enumeration SPDateTimeFieldFormatType
Dim instance As SPDateTimeFieldFormatType
[ClientCallableTypeAttribute(Name = "DateTimeFieldFormatType")]
public enum SPDateTimeFieldFormatType


Member name Description
DateOnly Only the date is displayed.
DateTime Both the date and the time are displayed.

See Also


Microsoft.SharePoint Namespace