Export (0) Print
Expand All
Expand Minimize

SPDateFormat enumeration

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.
MonthYearOnlySpecifies that only the month and year are included.
LongDate
UnknownFormat Specifies the parser should parse the supplied date string using any format supported by .Net for the current culture. This option is only supported for parsing and not for formatting.
Show:
© 2014 Microsoft