SPDateFormat enumeration
Collapse the table of content
Expand the table of content

SPDateFormat enumeration

Specifies the date and time format.

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

Public Enumeration SPDateFormat
Dim instance As 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.
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.
© 2016 Microsoft