DateTimeFieldFriendlyFormatType enumeration

SharePoint Online

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

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

public enum DateTimeFieldFriendlyFormatType

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.