Compartilhar via


SPDateFormat Enumeration

The SPDateFormat enumeration specifies the date and time format.

Members

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

Name Description
DateOnly Only the date is included.
DateTime Both the date and the time are included.
ISO8601 ISO8601 time format converted to coordinated universal time (UTC) in the format YYYY-MM-DDTHH:MM:SSZ.
TimeOnly Only the time is included.

Requirements

Namespace: Microsoft.SharePoint.Utilities

Platforms: Microsoft Windows Server 2003

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

Security: Code Access Security