Condividi tramite


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 (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Enumeration DateTimeFormat
'Usage
Dim instance As DateTimeFormat
public enum DateTimeFormat

Members

Member name Description
DateTime Specifies that both the date and time be included.
DateOnly Specifies that only the date be included.
TimeOnly Specifies that only the time be included.
ISO8601 Specifies that ISO8601 time format (YYYY-MM-DDTHH:MM:SSZ).
MonthDayOnly Specifies that only the month and day be included.
MonthYearOnly Specifies that only the month and year be included.

Remarks

An enumerated type that corresponds to the SPDateFormat class.

See Also

Reference

Microsoft.SharePoint.Client.Utilities Namespace