Share via


DateTimeFormat enumeration

Specifies the date and time format.

Namespace:  Microsoft.SharePoint.Client.Utilities
Assembly:  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.
LongDate
UnknownFormat

Remarks

An enumerated type that corresponds to the SPDateFormat class.

See also

Reference

Microsoft.SharePoint.Client.Utilities namespace