DateTimeFormat enumeration

Specifies the date and time format.

Namespace:  Microsoft.SharePoint.Client.Utilities
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public enum DateTimeFormat

Member nameDescription
DateTimeSpecifies that both the date and time be included.
DateOnlySpecifies that only the date be included.
TimeOnlySpecifies that only the time be included.
ISO8601Specifies that ISO8601 time format (YYYY-MM-DDTHH:MM:SSZ).
MonthDayOnlySpecifies that only the month and day be included.
MonthYearOnlySpecifies that only the month and year be included.
LongDate
UnknownFormat

An enumerated type that corresponds to the SPDateFormat class.

Show:
© 2014 Microsoft