SPDateTimeFieldFormatType Enumeration

The SPDateTimeFieldFormatType enumeration specifies the format to use in displaying date and time fields.

Members

The following table shows the members of the SPDateTimeFieldFormatType enumeration and provides a brief description of each.

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

Requirements

Namespace: Microsoft.SharePoint

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Security: Code Access Security