SPDateTimeFieldFriendlyFormatType enumeration

SharePoint 2013

Specifies a friendly format to use in displaying date and time fields.

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

public enum SPDateTimeFieldFriendlyFormatType

Member nameDescription
UnspecifiedUndefined. The default rendering will be used. Value = 0.
DisabledThe standard absolute representation will be used. Value = 1.
RelativeThe standard friendly relative representation will be used (for example, "today at 3:00 PM"). Value = 2.