Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallableTypeAttribute(Name = "DateTimeFormat")]
[SubsetCallableTypeAttribute]
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.
Show:
© 2015 Microsoft