SP.Utilities.DateTimeFormat Enumeration

Applies to: SharePoint Foundation 2010

Specifies the date and time format.

Values

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

SP.Utilities Namespace