Share via


SPDateFormat Enumeration

Specifies the date and time format.

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

Syntax

Public Enumeration SPDateFormat

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.

See Also

Reference

Microsoft.SharePoint.Utilities Namespace