Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the date and time format.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Enumeration SPDateFormat
'Usage
Dim instance As SPDateFormat
public enum SPDateFormat
Members
| Member name | Description | |
|---|---|---|
| DateTime | Specifies that both date and time are included. | |
| DateOnly | Specifies that only the date is included. | |
| TimeOnly | Specifies that only time is included. | |
| ISO8601 | ISO8601 time format YYYY-MM-DDTHH:MM:SSZ. | |
| MonthDayOnly | Specifies that only the month and day are included. | |
| MonthYearOnly | Specifies 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. |