SPFieldCalculated.DateFormat property
Gets or sets the date and time formatting that is used in the field.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property DateFormat As SPDateTimeFieldFormatType
Get
Set
'Usage
Dim instance As SPFieldCalculated
Dim value As SPDateTimeFieldFormatType
value = instance.DateFormat
instance.DateFormat = value
public SPDateTimeFieldFormatType DateFormat { get; set; }
Property value
Type: Microsoft.SharePoint.SPDateTimeFieldFormatType
A Microsoft.SharePoint.SPDateTimeFieldFormatType value that specifies a date and time format.