This documentation is archived and is not being maintained.

SPDateFormat Enumeration

Windows SharePoint Services 3

Specifies the date and time format.

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

public enum SPDateFormat

Member nameDescription
DateTimeSpecifies that both date and time are included.
DateOnlySpecifies that only the date is included.
TimeOnlySpecifies that only time is included.
ISO8601ISO8601 time format YYYY-MM-DDTHH:MM:SSZ.
MonthDayOnlySpecifies that only the month and day are included.